July 28, 2014
Determines whether the specified path refers to an existing directory in the isolated store.
Public Function DirectoryExists ( _
path As String _
) As Boolean
The isolated store has been removed.
Isolated storage is disabled.
The isolated store has been disposed.
The following example deletes a specific directory if it exists. This example is part of a larger example provided for IsolatedStorageFile class.
' Delete a specific directory.
Dim dirDelete As String = Path.Combine("MyApp1", "SubDir3")
If store.DirectoryExists(dirDelete) Then
Catch ex As IsolatedStorageException