Aracılığıyla paylaş


IsolatedStorageFile.FileExists(String) Yöntem

Tanım

Belirtilen yolun yalıtılmış depodaki mevcut bir dosyaya başvurup başvurmayacağını belirler.

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

Parametreler

path
String

Test etmek için yol ve dosya adı.

Döndürülenler

trueyalıtılmış depodaki mevcut bir dosyaya başvuruyorsa path ve değilse null, değilse . false

Öznitelikler

Özel durumlar

path, null değeridir.

Yalıtılmış mağaza kapatıldı.

Yalıtılmış depo atılmış.

Yalıtılmış depo kaldırıldı.

Şunlara uygulanır

Ayrıca bkz.