共用方式為


IVsInsertionUI.GetWindowHandle Method

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
Function GetWindowHandle ( _
    <OutAttribute> ByRef hwnd As IntPtr _
) As Integer
'用途
Dim instance As IVsInsertionUI
Dim hwnd As IntPtr
Dim returnValue As Integer

returnValue = instance.GetWindowHandle(hwnd)
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

.NET Framework Security

See Also

Reference

IVsInsertionUI Interface

IVsInsertionUI Members

Microsoft.VisualStudio.TextManager.Interop Namespace