IsolatedStorageFile::GetDirectoryNames Method ()
.NET Framework (current version)
Enumerates the directories at the root of an isolated store.
Assembly: mscorlib (in mscorlib.dll)
Return Value
Type: array<System::String^>^An array of relative paths of directories at the root of the isolated store. A zero-length array specifies that there are no directories at the root.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The isolated store has been disposed. |
| InvalidOperationException | The isolated store is closed. |
| IsolatedStorageException | The isolated store has been removed. |
| UnauthorizedAccessException | Caller does not have permission to enumerate directories. |
| DirectoryNotFoundException | One or more directories are not found. |
This method is equivalent to using the IsolatedStorageFile::GetDirectoryNames(String^) method with "*" specified for the search pattern.
Universal Windows Platform
Available since 10
.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 10
.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: