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

테스트할 경로입니다.

반환

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

특성

예외

path이(가) null인 경우

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

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

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

또는

격리된 스토리지가 비활성화되었습니다.

적용 대상

추가 정보