IVsUIShell::GetSaveFileNameViaDlg Method (array<VSSAVEFILENAMEW>^)
Visual Studio 2015
Brings up the Save As dialog box to save a file.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pSaveFileName
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSSAVEFILENAMEW>^
[in, out] Pointer to a save file name structure that contains information used to initialize the dialog box. When this method returns, this structure contains information about the file name selected by the user.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsUIShell::GetSaveFileNameViaDlg(
[in,out] VSSAVEFILENAMEW *pSaveFileName
);
Use the VSSAVEFILENAMEW structure to facilitate conversion from GetOpenFileNameW system API.
Show: