IsolatedStorageFile.DirectoryExists(String) Metodo

Definizione

Determina se il percorso specificato fa riferimento a una directory esistente nell'archivio isolato.

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

Parametri

path
String

Percorso da testare.

Restituisce

true se path fa riferimento a una directory esistente nell'archivio isolato e non è null; in caso contrario false.

Attributi

Eccezioni

path è null.

L'archivio isolato è chiuso.

L'archivio isolato è stato eliminato.

L'archivio isolato è stato rimosso.

-oppure-

Lo spazio di memorizzazione isolato è disabilitato.

Si applica a

Vedi anche