IsolatedStorageFile.DirectoryExists(String) Método

Definición

Determina si la ruta de acceso especificada hace referencia a un directorio existente en el almacén aislado.

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

Ruta de acceso que se va a probar.

Devoluciones

true si path hace referencia a un directorio existente en el almacén aislado y no nulles ; de lo contrario, false.

Atributos

Excepciones

path es null.

El almacén aislado está cerrado.

Se ha eliminado el almacén aislado.

Se ha quitado el almacén aislado.

O bien

El almacenamiento aislado está deshabilitado.

Se aplica a

Consulte también