IVsIntellisenseCompletor.GetCompletionSpan Method

Returns the completor span.

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

Syntax

'宣言
Function GetCompletionSpan ( _
    ts As TextSpan() _
) As Integer
'使用
Dim instance As IVsIntellisenseCompletor
Dim ts As TextSpan()
Dim returnValue As Integer

returnValue = instance.GetCompletionSpan(ts)
int GetCompletionSpan(
    TextSpan[] ts
)
int GetCompletionSpan(
    array<TextSpan>^ ts
)
function GetCompletionSpan(
    ts : TextSpan[]
) : int

Parameters

  • ts
    Type: []

    TextSpan containing the completor.

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 IVsIntellisenseCompletor::GetCompletionSpan(TextSpan *ts);

Permissions

See Also

Reference

IVsIntellisenseCompletor Interface

IVsIntellisenseCompletor Members

Microsoft.VisualStudio.TextManager.Interop Namespace