IsolatedStorageFile.FileExists(String) メソッド

定義

指定したパスが分離ストア内の既存のファイルを参照しているかどうかを判断します。

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

パラメーター

path
String

テストするパスとファイル名。

返品

true path分離ストア内の既存のファイルを参照し、nullされていない場合はfalse

属性

例外

pathnullです。

分離ストアは閉じられます。

分離ストアが破棄されました。

分離ストアが削除されました。

適用対象

こちらもご覧ください