IVsUIShell2.GetSaveFileNameViaDlgEx Method

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)

Syntax

‘선언
Function GetSaveFileNameViaDlgEx ( _
    <OutAttribute> pSaveFileName As VSSAVEFILENAMEW(), _
    pszHelpTopic As String _
) As Integer
‘사용 방법
Dim instance As IVsUIShell2
Dim pSaveFileName As VSSAVEFILENAMEW()
Dim pszHelpTopic As String
Dim returnValue As Integer

returnValue = instance.GetSaveFileNameViaDlgEx(pSaveFileName, _
    pszHelpTopic)
int GetSaveFileNameViaDlgEx(
    VSSAVEFILENAMEW[] pSaveFileName,
    string pszHelpTopic
)
int GetSaveFileNameViaDlgEx(
    [InAttribute] [OutAttribute] array<VSSAVEFILENAMEW>^ pSaveFileName, 
    [InAttribute] String^ pszHelpTopic
)
abstract GetSaveFileNameViaDlgEx : 
        pSaveFileName:VSSAVEFILENAMEW[] byref * 
        pszHelpTopic:string -> int 
function GetSaveFileNameViaDlgEx(
    pSaveFileName : VSSAVEFILENAMEW[], 
    pszHelpTopic : String
) : int

Parameters

  • 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.

Remarks

COM Signature

From vsshell80.idl:

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

.NET Framework Security

See Also

Reference

IVsUIShell2 Interface

IVsUIShell2 Members

Microsoft.VisualStudio.Shell.Interop Namespace