Freigeben über


IVsTextViewIntellisenseHost.GetHostWindow-Methode

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

Syntax

'Declaration
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

Parameter

  • hwnd
    Typ: IntPtr%

     

Rückgabewert

Typ: Int32
Wenn die Methode erfolgreich ausgeführt, gibt sie NativeMethods.S_OK zurück.Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

Von singlefileeditor.idl:

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

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsTextViewIntellisenseHost Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace