IsolatedStorageFile.DirectoryExists(String) メソッド

定義

指定したパスが分離ストア内の既存のディレクトリを参照しているかどうかを判断します。

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

パラメーター

path
String

テストするパス。

返品

true path分離ストア内の既存のディレクトリを参照し、nullされていない場合はfalse

属性

例外

pathnullです。

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

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

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

-又は-

分離ストレージは無効になっています。

適用対象

こちらもご覧ください