IVsFindTarget::MarkSpan Method (array<TextSpan>^)
Visual Studio 2015
Highlight a given text span.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- pts
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^
[in] Specifies the text span to highlight. Values are contained in a TextSpan structure.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsFindTarget::MarkSpan( [in] const TextSpan * pts );
For non-image targets, mark all is implemented by calling Find with a value of FR_MarkAll specified for the rgfOptions parameter. Image targets that support Mark All support the MarkSpan method.
Show: