INavigateToItemDisplay3.GetNameMatchRuns(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a list of spans (character positions) of matching (against the search query) character start/stop indexes in the Name property. Return null for the default behavior where the caller tries to figure out the matching characters.
public:
System::Collections::Generic::IReadOnlyList<Microsoft::VisualStudio::Text::Span> ^ GetNameMatchRuns(System::String ^ searchValue);
public System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Text.Span> GetNameMatchRuns (string searchValue);
abstract member GetNameMatchRuns : string -> System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Text.Span>
Public Function GetNameMatchRuns (searchValue As String) As IReadOnlyList(Of Span)
Parameters
- searchValue
- String