GroupCollection.ContainsKey(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the group collection contains a captured group identified by the specified name.
public:
virtual bool ContainsKey(System::String ^ key);
public bool ContainsKey(string key);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool
Public Function ContainsKey (key As String) As Boolean
- key
- String
A string with the name of the captured group to locate.
true
if the group collection contains a captured group identified by key
; false
otherwise.
Product | Versions |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: