IVsFindTarget2::NavigateTo2 Method (IVsTextSpanSet^, TextSelMode)
Visual Studio 2015
Move to a specified location within a document.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Parameters
- pSpans
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextSpanSet^
[in] optional - Set of text spans describing the match GetTaggedSpans
- iSelMode
-
Type:
Microsoft.VisualStudio.TextManager.Interop::TextSelMode
[in] Set selection to box or stream. Values are taken from TextSelMode.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textfind.idl:
HRESULT IVsFindTarget2::NavigateTo2( [in] IVsTextSpanSet *pSpans, [in] enum _TextSelMode iSelMode );
Show: