DocData.ShowSaveOptionsDlg Method

Shows a dialog box from which the user can specify additional options for save formats.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Public Function ShowSaveOptionsDlg ( _
    dwReserved As UInteger, _
    hwndDlgParent As IntPtr, _
    pszFilename As IntPtr _
) As Integer
'使用
Dim instance As DocData
Dim dwReserved As UInteger
Dim hwndDlgParent As IntPtr
Dim pszFilename As IntPtr
Dim returnValue As Integer

returnValue = instance.ShowSaveOptionsDlg(dwReserved, _
    hwndDlgParent, pszFilename)
public int ShowSaveOptionsDlg(
    uint dwReserved,
    IntPtr hwndDlgParent,
    IntPtr pszFilename
)
public:
virtual int ShowSaveOptionsDlg(
    unsigned int dwReserved, 
    IntPtr hwndDlgParent, 
    IntPtr pszFilename
) sealed
public final function ShowSaveOptionsDlg(
    dwReserved : uint, 
    hwndDlgParent : IntPtr, 
    pszFilename : IntPtr
) : int

Parameters

  • hwndDlgParent
    Type: System.IntPtr

    The parent of the Save As dialog box.

Return Value

Type: System.Int32

S_OK if the method succeeds; otherwise, it returns an error code.

Implements

IVsSaveOptionsDlg.ShowSaveOptionsDlg(UInt32, IntPtr, IntPtr)

Remarks

This method implements the IVsSaveOptionsDlg interface.

This method is typically used to display the Advanced Save dialog box to obtain the document encoding from users.

Permissions

See Also

Reference

DocData Class

DocData Members

Microsoft.VisualStudio.Modeling.Shell Namespace