IVsIntellisenseHost.GetContextFocalPoint Method

Returns the position in the context buffer that is 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

'宣言
Function GetContextFocalPoint ( _
    <OutAttribute> pSpan As TextSpan(), _
    ByRef piLen As Integer _
) As Integer
'使用
Dim instance As IVsIntellisenseHost
Dim pSpan As TextSpan()
Dim piLen As Integer
Dim returnValue As Integer

returnValue = instance.GetContextFocalPoint(pSpan, _
    piLen)
int GetContextFocalPoint(
    TextSpan[] pSpan,
    ref int piLen
)
int GetContextFocalPoint(
    [OutAttribute] array<TextSpan>^ pSpan, 
    int% piLen
)
function GetContextFocalPoint(
    pSpan : TextSpan[], 
    piLen : int
) : int

Parameters

  • pSpan
    Type: []

    [out] The TextSpan containing the IntelliSense context.

Return Value

Type: System.Int32

If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code.

Remarks

C++

From singlefileeditor.idl:

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

Permissions

See Also

Reference

IVsIntellisenseHost Interface

IVsIntellisenseHost Members

Microsoft.VisualStudio.TextManager.Interop Namespace