IsolatedStorageFile.DirectoryExists(String) Methode

Definition

Bestimmt, ob der angegebene Pfad auf ein vorhandenes Verzeichnis im isolierten Speicher verweist.

public:
 bool DirectoryExists(System::String ^ path);
public bool DirectoryExists(string path);
[System.Runtime.InteropServices.ComVisible(false)]
public bool DirectoryExists(string path);
member this.DirectoryExists : string -> bool
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.DirectoryExists : string -> bool
Public Function DirectoryExists (path As String) As Boolean

Parameter

path
String

Der zu testende Pfad.

Gibt zurück

true if path refers to an existing directory in the isolated store and is not null; otherwise, false.

Attribute

Ausnahmen

path ist null.

Der isolierte Speicher ist geschlossen.

Der isolierte Speicher wurde gelöscht.

Der isolierte Speicher wurde entfernt.

-oder-

Der isolierte Speicher ist deaktiviert.

Gilt für:

Weitere Informationen