IsolatedStorageFile.FileExists(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 file in the isolated store.
public:
bool FileExists(System::String ^ path);
public bool FileExists (string path);
[System.Runtime.InteropServices.ComVisible(false)]
public bool FileExists (string path);
member this.FileExists : string -> bool
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.FileExists : string -> bool
Public Function FileExists (path As String) As Boolean
Parameters
- path
- String
The path and file name to test.
Returns
true
if path
refers to an existing file 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.
The isolated store has been removed.
Applies to
See also
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.