Share via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public Function ShowSaveOptionsDlg ( _
    dwReserved As UInteger, _
    hwndDlgParent As IntPtr, _
    pszFilename As IntPtr _
) As Integer
public int ShowSaveOptionsDlg(
    uint dwReserved,
    IntPtr hwndDlgParent,
    IntPtr pszFilename
)
public:
virtual int ShowSaveOptionsDlg(
    unsigned int dwReserved, 
    IntPtr hwndDlgParent, 
    IntPtr pszFilename
) sealed
abstract ShowSaveOptionsDlg : 
        dwReserved:uint32 * 
        hwndDlgParent:IntPtr * 
        pszFilename:IntPtr -> int  
override ShowSaveOptionsDlg : 
        dwReserved:uint32 * 
        hwndDlgParent:IntPtr * 
        pszFilename:IntPtr -> int
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.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace