MatchKindExtensions.AsPatternMatchKind(MatchKind) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Achtung
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.
Konvertiert MatchKind in 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
Parameter
Gibt zurück
Eine Teilmenge der- PatternMatchKind Enumeration, die den möglichen Werten von zugeordnet wird MatchKind .
- Attribute
Hinweise
Mapping: wird Exact zugeordnet Exact . Prefix wird Prefix zugeordnet. Substring wird Substring zugeordnet. Regular wird Fuzzy zugeordnet. None wird null zugeordnet.