IVsUIWin32Element.ShowModal(IntPtr, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.