Share via


IVsUIShell2.GetSaveFileNameViaDlgEx(VSSAVEFILENAMEW[], String) Method

Definition

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

public:
 int GetSaveFileNameViaDlgEx(cli::array <Microsoft::VisualStudio::Shell::Interop::VSSAVEFILENAMEW> ^ pSaveFileName, System::String ^ pszHelpTopic);
int GetSaveFileNameViaDlgEx(std::Array <Microsoft::VisualStudio::Shell::Interop::VSSAVEFILENAMEW> const & pSaveFileName, std::wstring const & pszHelpTopic);
public int GetSaveFileNameViaDlgEx (Microsoft.VisualStudio.Shell.Interop.VSSAVEFILENAMEW[] pSaveFileName, string pszHelpTopic);
abstract member GetSaveFileNameViaDlgEx : Microsoft.VisualStudio.Shell.Interop.VSSAVEFILENAMEW[] * string -> int
Public Function GetSaveFileNameViaDlgEx (pSaveFileName As VSSAVEFILENAMEW(), pszHelpTopic As String) As Integer

Parameters

pSaveFileName
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
String

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

Returns

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

Remarks

COM Signature

From vsshell80.idl:

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

Applies to