Share via


IVsFinder.GetMatchedSpans(IVsTextSpanSet) Method

Definition

Gets matched textspans.

public:
 int GetMatchedSpans([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet ^ % ppSpans);
public:
 int GetMatchedSpans([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet ^ &  ppSpans);
int GetMatchedSpans([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextSpanSet const & & ppSpans);
public int GetMatchedSpans (out Microsoft.VisualStudio.TextManager.Interop.IVsTextSpanSet ppSpans);
abstract member GetMatchedSpans : IVsTextSpanSet -> int
Public Function GetMatchedSpans (ByRef ppSpans As IVsTextSpanSet) As Integer

Parameters

ppSpans
IVsTextSpanSet

[out] Bulk find list. Requires VSFH_SetMatch on Find.

Returns

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

Remarks

COM Signature

From textfind.idl:

HRESULT IVsFinder::GetMatchedSpans(  
   [out, retval] IVsTextSpanSet ** ppSpans  
);  

Applies to