IsolatedStorageFile.CreateFile(String) 메서드

정의

격리된 저장소에 파일을 만듭니다.

public:
 System::IO::IsolatedStorage::IsolatedStorageFileStream ^ CreateFile(System::String ^ path);
public System.IO.IsolatedStorage.IsolatedStorageFileStream CreateFile (string path);
[System.Runtime.InteropServices.ComVisible(false)]
public System.IO.IsolatedStorage.IsolatedStorageFileStream CreateFile (string path);
member this.CreateFile : string -> System.IO.IsolatedStorage.IsolatedStorageFileStream
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.CreateFile : string -> System.IO.IsolatedStorage.IsolatedStorageFileStream
Public Function CreateFile (path As String) As IsolatedStorageFileStream

매개 변수

path
String

만들려는 파일의 상대 경로입니다.

반환

새 격리된 스토리지 파일.

특성

예외

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

또는

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

path의 형식이 잘못된 경우

path이(가) null인 경우

path에 디렉터리가 없는 경우

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

설명

이 메서드는 생성자를 사용하는 IsolatedStorageFileStream.IsolatedStorageFileStream(String, FileMode, FileAccess, FileShare, IsolatedStorageFile) 것과 같습니다.

적용 대상

추가 정보