IReadOnlyPatternCollection.TryGetMatchingPattern Method
- Namespace
- Kampute.DocToolkit.Collections
- Assembly
- Kampute.DocToolkit.dll
Definition
Attempts to retrieve a pattern that matches the specified value.
bool TryGetMatchingPattern(string value, [NotNullWhen(true)] out string pattern)Parameters
valuestring- The value to find a pattern for.
patternstring- When this method returns, contains the pattern that matches the value, if found; otherwise,
null. This parameter is passed uninitialized.
