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

테스트할 경로와 파일 이름입니다.

반환

path가 격리된 저장소의 기존 파일을 참조하고 true이 아니면 null이고, 그렇지 않으면 false입니다.

특성

예외

path이(가) null인 경우

격리된 저장소가 닫혀 있습니다.

격리된 저장소가 삭제된 경우

격리된 저장소가 제거된 경우

적용 대상

추가 정보