MatchKindExtensions.AsPatternMatchKind(MatchKind) Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Внимание!
This method is for backwards compatibility only, and will be removed when MatchKind is removed. Please actively convert code that calls this to use PatternMatch types instead.
Преобразует MatchKind в PatternMatchKind .
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::VisualStudio::Text::PatternMatching::PatternMatchKind AsPatternMatchKind(Microsoft::VisualStudio::Language::NavigateTo::Interfaces::MatchKind source);
[System.Obsolete("This method is for backwards compatibility only, and will be removed when MatchKind is removed. Please actively convert code that calls this to use PatternMatch types instead.")]
public static Microsoft.VisualStudio.Text.PatternMatching.PatternMatchKind AsPatternMatchKind (this Microsoft.VisualStudio.Language.NavigateTo.Interfaces.MatchKind source);
[<System.Obsolete("This method is for backwards compatibility only, and will be removed when MatchKind is removed. Please actively convert code that calls this to use PatternMatch types instead.")>]
static member AsPatternMatchKind : Microsoft.VisualStudio.Language.NavigateTo.Interfaces.MatchKind -> Microsoft.VisualStudio.Text.PatternMatching.PatternMatchKind
<Extension()>
Public Function AsPatternMatchKind (source As MatchKind) As PatternMatchKind
Параметры
Возвращаемое значение
Подмножество PatternMatchKind перечисления, которое сопоставляется с возможными значениями MatchKind .
- Атрибуты
Комментарии
Сопоставление: Exact сопоставляется с Exact . Prefix сопоставляется с Prefix. Substring сопоставляется с Substring. Regular сопоставляется с Fuzzy. None сопоставляется с null.