IsolatedStorageFile.GetFileNames Method (String)
February 14, 2014
Enumerates files in isolated storage scope that match a given pattern.
Assembly: mscorlib (in mscorlib.dll)
- Type: System.String
A search pattern. Both single-character ("?") and multi-character ("*") wildcards are supported.
The store has been removed.
Isolated storage is disabled.
searchPattern is badly formed.
searchPattern is null.
Cannot find a part of the searchPattern.
The store has been disposed.
The searchPattern "Project\Data*.txt" will give all ".txt" files beginning with Data in the Project directory of the isolated storage scope. For complete description of search pattern strings, see System.IO.Directory.
For information about how to find directory names, see the GetDirectoryNames method.