INavigateToItemDisplay3.GetNameMatchRuns(String) 方法

定义

获取范围的列表,这些范围 (字符位置与搜索) 查询匹配 (,) 属性中的字符开始/停止索引 Name 。 对于调用方试图找出匹配字符的默认行为,返回 null。

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)

参数

searchValue
String

返回

IReadOnlyList<Span>

适用于