IVsFinder::GetMatchedSpans Method (IVsTextSpanSet^)

 

Gets matched textspans.

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

int GetMatchedSpans(
	[OutAttribute] IVsTextSpanSet^% ppSpans
)

Parameters

ppSpans
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextSpanSet^

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

Return Value

Type: System::Int32

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

From textfind.idl:

HRESULT IVsFinder::GetMatchedSpans(
   [out, retval] IVsTextSpanSet ** ppSpans
);
Return to top
Show: