IVsTextView.GetWindowHandle, méthode

Retourne la handle de fenêtre pour cette vue.

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

'Déclaration
Function GetWindowHandle As IntPtr
IntPtr GetWindowHandle()
IntPtr GetWindowHandle()
abstract GetWindowHandle : unit -> IntPtr
function GetWindowHandle() : IntPtr

Valeur de retour

Type : IntPtr
Si la méthode réussit, elle retourne S_OK.En cas d'échec, un code d'erreur est retourné.

Notes

Signature de COM

De textmgr.idl :

HRESULT IVsTextView::GetWindowHandle();

Sécurité .NET Framework

Voir aussi

Référence

IVsTextView Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms