SaveFileDialog.OpenFile 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 read-write file stream for the filename selected by the user using SaveFileDialog.
public:
System::IO::Stream ^ OpenFile();
[System.Security.SecurityCritical]
public System.IO.Stream OpenFile ();
public System.IO.Stream OpenFile ();
[<System.Security.SecurityCritical>]
member this.OpenFile : unit -> System.IO.Stream
member this.OpenFile : unit -> System.IO.Stream
Public Function OpenFile () As Stream
Returns
A new Stream that contains the selected file.
- Attributes
Exceptions
No files were selected in the dialog.
Remarks
The file stream that is returned is opened with read-write access (Create and ReadWrite).
Applies to
See also
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.