Partilhar via


Método IVsIntellisenseCompletor.GetWindowHandle

Obtém um identificador para a janela de completor.

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

Sintaxe

'Declaração
Function GetWindowHandle ( _
    <OutAttribute> ByRef phwnd As IntPtr _
) As Integer
int GetWindowHandle(
    out IntPtr phwnd
)
int GetWindowHandle(
    [OutAttribute] IntPtr% phwnd
)
abstract GetWindowHandle : 
        phwnd:IntPtr byref -> int
function GetWindowHandle(
    phwnd : IntPtr
) : int

Parâmetros

  • phwnd
    Tipo: IntPtr%

    [out] A janela HWND.

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Segurança do .NET Framework

Consulte também

Referência

IVsIntellisenseCompletor Interface

Namespace Microsoft.VisualStudio.TextManager.Interop