Enumerates files in isolated storage scope that matach given pattern.
[Visual Basic] Public Function GetFileNames( _ ByVal searchCriteria As String _ ) As String () [C#] public string[] GetFileNames( string searchCriteria ); [C++] public: String* GetFileNames( String* searchCriteria ) []; [JScript] public function GetFileNames( searchCriteria : String ) : String[];
Array of strings corresponding to the relative pathnames of files in the isolated storage scope that matchsearchCriteria. A zero-lengthed array designates that no files matched.
For complete description of search criteria strings see System.IO.Directory.
For directory names seeGetDirectoryNames method.
The searchCriteria "foo\abc*.txt" will give all ".txt" files beginning with "abc" in the "foo" directory of the isolated storage scope.
IsolatedStorageFile Class | IsolatedStorageFile Members | System.IO.IsolatedStorage Namespace