IsolatedStorageFile.DirectoryExists(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- path
- String
The path to test.
Returns
true
if path
refers to an existing directory in the isolated store and is not null
; otherwise, false
.
- Attributes
Exceptions
path
is null
.
The isolated store is closed.
The isolated store has been disposed.
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.