GroupCollection.Count 屬性

定義

傳回集合中的群組數。

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

屬性值

集合中的群組數。

實作

備註

物件 GroupCollection 一律至少有一個成員。 如果相符專案不成功,屬性會 Match.Groups 傳回包含單一 GroupCollection 成員的物件。

適用於