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 형식이 잘못되었습니다.

pathnull입니다.

디렉터리가 path 없습니다.

격리된 저장소가 삭제되었습니다.

설명

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

적용 대상

추가 정보