IVsUIShell2::GetSaveFileNameViaDlgEx Method (array<VSSAVEFILENAMEW>^, String^)

 

Brings up the Save As dialog box to obtain a save file name.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int GetSaveFileNameViaDlgEx(
	array<VSSAVEFILENAMEW>^ pSaveFileName,
	String^ pszHelpTopic
)

Parameters

pSaveFileName
Type: array<Microsoft.VisualStudio.Shell.Interop::VSSAVEFILENAMEW>^

[in, out] A VSSAVEFILENAMEW structure that contains information used to initialize the Save As dialog box. When this method returns, this structure contains information about the file name selected by the user.

pszHelpTopic
Type: System::String^

[in] A string containing the help topic. This parameter overrides the dwHelpTopic parameter in the VSSAVEFILENAMEW structure.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell80.idl:

HRESULT IVsUIShell2::GetSaveFileNameViaDlgEx(
   [in,out] VSSAVEFILENAMEW *pSaveFileName,
   [in]     LPCOLESTR        pszHelpTopic
);
Return to top
Show: