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
)
function GetWindowHandle(
hwnd : IntPtr
) : int
Parameters
hwnd
Type: System.IntPtr%
Return Value
Type: System.Int32
Permissions
- 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.