IsolatedStorageFile.DirectoryExists(String) Método
Definição
Determina se o caminho especificado refere-se a um diretório existente no repositório isolado.Determines whether the specified path refers to an existing directory in the isolated store.
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 ser testado.The path to test.
Retornos
true se path referir-se a um diretório existente no repositório isolado e não for null; caso contrário, false.true if path refers to an existing directory in the isolated store and is not null; otherwise, false.
- Atributos
Exceções
path é null.path is null.
O repositório isolado está fechado.The isolated store is closed.
O repositório isolado foi descartado.The isolated store has been disposed.
O repositório isolado foi removido.The isolated store has been removed.
- ou --or-
O armazenamento isolado está desabilitado.Isolated storage is disabled.