Freigeben über


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

'Declaration
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

Return Value

Type: System.Int32
Returns S_OK if the method is successful.

.NET Framework Security

See Also

Reference

IVsInsertionUI Interface

Microsoft.VisualStudio.TextManager.Interop Namespace