System.Text.RegularExpressions.GroupCollection.Count Property

Returns the number of groups in the collection.

Syntax

public int Count { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The System.Text.RegularExpressions.GroupCollection object always has at least one member. If a match is unsuccessful, the Match.Groups property returns a System.Text.RegularExpressions.GroupCollection object that contains a single member.

Requirements

Namespace: System.Text.RegularExpressions
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0