Compartir a través de


IVsTextView.GetWindowHandle (Método)

Devuelve el identificador de ventana para esta vista.

Espacio de nombres:  Microsoft.VisualStudio.TextManager.Interop
Ensamblado:  Microsoft.VisualStudio.TextManager.Interop (en Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxis

'Declaración
Function GetWindowHandle As IntPtr
IntPtr GetWindowHandle()
IntPtr GetWindowHandle()
abstract GetWindowHandle : unit -> IntPtr
function GetWindowHandle() : IntPtr

Valor devuelto

Tipo: IntPtr
si el método tiene éxito, devuelve S_OK.Si se produce un error, devuelve un código de error.

Comentarios

Prototipo COM

de textmgr.idl:

HRESULT IVsTextView::GetWindowHandle();

Seguridad de .NET Framework

Vea también

Referencia

IVsTextView Interfaz

Microsoft.VisualStudio.TextManager.Interop (Espacio de nombres)