Share via


IsolatedStorageFile.CreateFile(String) Yöntem

Tanım

Yalıtılmış depoda bir dosya oluşturur.

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

Parametreler

path
String

Oluşturulacak dosyanın göreli yolu.

Döndürülenler

Yeni bir yalıtılmış depolama dosyası.

Öznitelikler

Özel durumlar

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

-veya-

Yalıtılmış depolama devre dışı bırakıldı.

path hatalı biçimlendirilmiş.

path, null değeridir.

içindeki path dizini yok.

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

Açıklamalar

Bu yöntem oluşturucuyu IsolatedStorageFileStream.IsolatedStorageFileStream(String, FileMode, FileAccess, FileShare, IsolatedStorageFile) kullanmaya eşdeğerdir.

Şunlara uygulanır

Ayrıca bkz.