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
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.