Partilhar via


Método IVsSplitRoot.GetWindowHandle

Obtém o identificador de janela.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.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] O identificador de janela.

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

COM assinatura

De textmgr.idl:

HRESULT IVsSplitRoot::GetWindowHandle(
   [out] HWND *phwnd
);

Segurança do .NET Framework

Consulte também

Referência

IVsSplitRoot Interface

Namespace Microsoft.VisualStudio.TextManager.Interop