IsolatedStorageFile.DirectoryExists(String) Método

Definição

Determina se o caminho especificado se refere a um diretório existente no armazenamento isolado.

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

Parâmetros

path
String

O caminho a testar.

Devoluções

true se path se refere a um diretório existente no armazenamento isolado e não nullé ; caso contrário, false.

Atributos

Exceções

path é null.

A loja isolada está encerrada.

O armazém isolado foi descartado.

A loja isolada foi removida.

-ou-

O armazenamento isolado está desativado.

Aplica-se a

Ver também