Freigeben über


IVsTextViewIntellisenseHost.GetContextFocalPoint-Methode

Der „oder“ Fokuspunkt Position im Kontextpuffer betrachtet werden soll, dem Starten der Kontext das Popup

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

Syntax

'Declaration
Function GetContextFocalPoint ( _
    <OutAttribute> pSpan As TextSpan(), _
    ByRef piLen As Integer _
) As Integer
int GetContextFocalPoint(
    TextSpan[] pSpan,
    ref int piLen
)
int GetContextFocalPoint(
    [OutAttribute] array<TextSpan>^ pSpan, 
    int% piLen
)
abstract GetContextFocalPoint : 
        pSpan:TextSpan[] byref * 
        piLen:int byref -> int
function GetContextFocalPoint(
    pSpan : TextSpan[], 
    piLen : int
) : int

Parameter

  • piLen
    Typ: Int32%

     

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::GetContextFocalPoint([out] TextSpan *pSpan, long *piLen);

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsTextViewIntellisenseHost Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace