Sdílet prostřednictvím


IsolatedStorageFile.DirectoryExists(String) Metoda

Definice

Určuje, zda zadaná cesta odkazuje na existující adresář v izolovaném úložišti.

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

Parametry

path
String

Cesta k testování.

Návraty

true pokud path odkazuje na existující adresář v izolovaném úložišti a není null; v opačném případě false.

Atributy

Výjimky

path je null.

Izolované úložiště je uzavřeno.

Izolované úložiště bylo odstraněno.

Izolované úložiště bylo odebráno.

-nebo-

Izolované úložiště je zakázané.

Platí pro

Viz také