Partilhar via


Método IVsIntellisenseHost.GetHostWindow

Retorna um identificador para a janela do host.

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

Sintaxe

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

Parâmetros

  • hwnd
    Tipo: IntPtr%

    [out] Identificador para a janela do host.

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.

Comentários

C++

De singlefileeditor.idl:

HRESULT IVsIntellisenseHost::GetHostWindow([out] HWND *hwnd);

Segurança do .NET Framework

Consulte também

Referência

IVsIntellisenseHost Interface

Namespace Microsoft.VisualStudio.TextManager.Interop