Share via


VsIntellisenseCompletorClass.GetCompletionSpan Method

Gets the completion span.

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

Syntax

'Declaration
Public Overridable Function GetCompletionSpan ( _
    ts As TextSpan() _
) As Integer
public virtual int GetCompletionSpan(
    TextSpan[] ts
)
public:
virtual int GetCompletionSpan(
    array<TextSpan>^ ts
)
abstract GetCompletionSpan : 
        ts:TextSpan[] -> int  
override GetCompletionSpan : 
        ts:TextSpan[] -> int
public function GetCompletionSpan(
    ts : TextSpan[]
) : int

Parameters

Return Value

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

Implements

IVsIntellisenseCompletor.GetCompletionSpan(array<TextSpan[])

.NET Framework Security

See Also

Reference

VsIntellisenseCompletorClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace