共用方式為


IVsUIWin32Element.ShowModal(IntPtr, Int32) Method

Definition

Show the window as a modal dialog box.

public:
 int ShowModal(IntPtr parent, [Runtime::InteropServices::Out] int % pDlgResult);
public int ShowModal (IntPtr parent, out int pDlgResult);
abstract member ShowModal : nativeint * int -> int
Public Function ShowModal (parent As IntPtr, ByRef pDlgResult As Integer) As Integer

Parameters

parent
IntPtr

nativeint

[in] The HWND of the parent window.

pDlgResult
Int32

[out] Location to return the dialog result.

Returns

Returns S_OK after the user closes the dialog.

Applies to