Condividi tramite


Metodo IVsTextView.GetWindowHandle

Restituisce l'handle della finestra della visualizzazione.

Spazio dei nomi:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Sintassi

'Dichiarazione
Function GetWindowHandle As IntPtr
IntPtr GetWindowHandle()
IntPtr GetWindowHandle()
abstract GetWindowHandle : unit -> IntPtr
function GetWindowHandle() : IntPtr

Valore restituito

Tipo: IntPtr
Se il metodo ha esito positivo, restituisce S_OK.Se non riesce, restituisce un codice di errore.

Note

Firma COM

da textmgr.idl:

HRESULT IVsTextView::GetWindowHandle();

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsTextView Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TextManager.Interop