IVsInsertionUI.GetWindowHandle Method
Gets the window handle.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaración
Function GetWindowHandle ( _
<OutAttribute> ByRef hwnd As IntPtr _
) As Integer
int GetWindowHandle(
out IntPtr hwnd
)
int GetWindowHandle(
[OutAttribute] IntPtr% hwnd
)
abstract GetWindowHandle :
hwnd:IntPtr byref -> int
function GetWindowHandle(
hwnd : IntPtr
) : int
Parameters
- hwnd
Type: System.IntPtr%
[out] The window handle.
Return Value
Type: System.Int32
Returns S_OK if the method is successful.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.