VsIntellisenseCompletorClass.GetWindowHandle Method
Gets the handle of the completor window.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
声明
Public Overridable Function GetWindowHandle ( _
<OutAttribute> ByRef phwnd As IntPtr _
) As Integer
public virtual int GetWindowHandle(
out IntPtr phwnd
)
public:
virtual int GetWindowHandle(
[OutAttribute] IntPtr% phwnd
)
abstract GetWindowHandle :
phwnd:IntPtr byref -> int
override GetWindowHandle :
phwnd:IntPtr byref -> int
public function GetWindowHandle(
phwnd : IntPtr
) : int
Parameters
- phwnd
Type: System.IntPtr%
The window handle.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsIntellisenseCompletor.GetWindowHandle(IntPtr%)
.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.