IVsFinder::GetMatch Method (array<TextSpan>^)

 

Gets a textspan match.

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

int GetMatch(
	array<TextSpan>^ pts
)

Parameters

pts
Type: array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^

[out] Current match. Does not require 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::GetMatch(
   [out, retval] TextSpan * pts
);
Return to top
Show: