IsolatedStorageFile.CreateFile(String) Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Vytvoří soubor v izolovaném úložišti.
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
Parametry
- path
- String
Relativní cesta k souboru, který se má vytvořit.
Návraty
Nový izolovaný soubor úložiště.
- Atributy
Výjimky
path je poškozený.
path je null.
Adresář v path adresáři neexistuje.
Izolované úložiště bylo uvolněno.
Poznámky
Tato metoda je ekvivalentní použití konstruktoru IsolatedStorageFileStream.IsolatedStorageFileStream(String, FileMode, FileAccess, FileShare, IsolatedStorageFile) .