The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Determines whether the specified path refers to an existing directory in the isolated store.
public bool DirectoryExists(
Type: System.Booleantrue if path refers to an existing directory in the isolated store and is not null; otherwise, false.
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.
string dirDelete = Path.Combine("MyApp1", "SubDir3");
catch (IsolatedStorageException ex)
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Supported in: Xbox 360, Windows Phone OS 7.0