SaveFileDialog::OpenFile Method ()
.NET Framework (current version)
Creates a read-write file stream for the filename selected by the user using SaveFileDialog.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | No files were selected in the dialog. |
UIPermission
to set this dialog option. Associated enumeration: AllWindows
.NET Framework
Available since 3.0
Available since 3.0
Show: