Compartilhar via


IVsTextViewIntellisenseHost.GetContextFocalPoint Method (array<TextSpan , Int32%)

The "focal point" or position in the context buffer that should be considered the starting context point

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

Syntax

'Declaração
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

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.

Implements

IVsIntellisenseHost.GetContextFocalPoint(array<TextSpan[], Int32%)

Remarks

From singlefileeditor.idl:

HRESULT IVsTextViewIntellisenseHost::GetContextFocalPoint([out] TextSpan *pSpan, long *piLen);

.NET Framework Security

See Also

Reference

IVsTextViewIntellisenseHost Interface

GetContextFocalPoint Overload

Microsoft.VisualStudio.TextManager.Interop Namespace