VsFinderClass.GetMatchedSpans Method

Gets matched text spans.

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

Syntax

声明
Public Overridable Function GetMatchedSpans ( _
    <OutAttribute> ByRef ppSpans As IVsTextSpanSet _
) As Integer
public virtual int GetMatchedSpans(
    out IVsTextSpanSet ppSpans
)
public:
virtual int GetMatchedSpans(
    [OutAttribute] IVsTextSpanSet^% ppSpans
)
abstract GetMatchedSpans : 
        ppSpans:IVsTextSpanSet byref -> int 
override GetMatchedSpans : 
        ppSpans:IVsTextSpanSet byref -> int 
public function GetMatchedSpans(
    ppSpans : IVsTextSpanSet
) : int

Parameters

Return Value

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

Implements

IVsFinder.GetMatchedSpans(IVsTextSpanSet%)

.NET Framework Security

See Also

Reference

VsFinderClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace