NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IsolatedStorageFile.GetDirectoryNames

Enumerates directories in isolated storage scope that matach given pattern.

[Visual Basic]
Public Function GetDirectoryNames( _
   ByVal searchCriteria As String _
) As String ()
[C#]
public string[] GetDirectoryNames(
   string searchCriteria
);
[C++]
public: String* GetDirectoryNames(
   String* searchCriteria
) [];
[JScript]
public function GetDirectoryNames(
   searchCriteria : String
) : String[];

Parameters

searchCriteria
Wildcard string expression describing matching files to the enumerated

Return Value

Array of strings corresponding to the relative pathnames of directories in the isolated storage scope that matchsearchCriteria. A zero-lengthed array designates that no directories matched.

Remarks

For complete description of search criteria strings see System.IO.Directory.

For file names seeGetFileNames method.

Example

The searchCriteria "foo\data*" will give all subdirectories of "foo" beginning with "data" in the isolated storage scope.

See Also

IsolatedStorageFile Class | IsolatedStorageFile Members | System.IO.IsolatedStorage Namespace