GetMatchedSpans Method
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

IVsFinder.GetMatchedSpans Method

Gets matched textspans.

Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in microsoft.visualstudio.textmanager.interop.dll)

int GetMatchedSpans (
	out IVsTextSpanSet ppSpans
)
int GetMatchedSpans (
	/** @attribute OutAttribute() */ /** @ref */ IVsTextSpanSet ppSpans
)
JScript does not support passing value-type arguments by reference.

Parameters

ppSpans

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

Return Value

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

COM Signature

From textfind.idl:

HRESULT IVsFinder::GetMatchedSpans(
   [out, retval] IVsTextSpanSet ** ppSpans
);
Show:
© 2016 Microsoft