다음을 통해 공유


IVsSaveOptionsDlg.ShowSaveOptionsDlg(UInt32, IntPtr, IntPtr) Method

Definition

Shows a dialog box from which to choose additional save format options.

public:
 int ShowSaveOptionsDlg(System::UInt32 dwReserved, IntPtr hwndDlgParent, IntPtr pszFilename);
public int ShowSaveOptionsDlg (uint dwReserved, IntPtr hwndDlgParent, IntPtr pszFilename);
abstract member ShowSaveOptionsDlg : uint32 * nativeint * nativeint -> int
Public Function ShowSaveOptionsDlg (dwReserved As UInteger, hwndDlgParent As IntPtr, pszFilename As IntPtr) As Integer

Parameters

dwReserved
UInt32

[in] Reserved. Do not use.

hwndDlgParent
IntPtr

nativeint

[in] The window to use as the save options dialog’s parent.

pszFilename
IntPtr

nativeint

[in] The absolute path of the file that is to be saved.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

[C++]

HRESULT IVsSaveOptionsDlg::ShowSaveOptionsDlg(  
   [in] DWORD dwReserved,   
   [in] HWND hwndDlgParent,   
   [out] WCHAR * pszFileName   
);  

The object is responsible for communicating the chosen options to the save operations and for deciding in what context the options should be persisted. If macro recording is on, the object must emit appropriate macro code to record the changes made to the options.

Applies to