Share via


INavigateToItemDisplay3.GetNameMatchRuns(String) Method

Definition

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

Returns

Applies to