IsolatedStorageFile.CreateFile(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a file in the isolated store.
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
Parameters
- path
- String
The relative path of the file to create.
Returns
A new isolated storage file.
- Attributes
Exceptions
path
is malformed.
path
is null
.
The directory in path
does not exist.
The isolated store has been disposed.
Remarks
This method is equivalent to using the IsolatedStorageFileStream.IsolatedStorageFileStream(String, FileMode, FileAccess, FileShare, IsolatedStorageFile) constructor.
Applies to
See also
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir