GroupCollection.IList<Group>.Item[Int32] 屬性

定義

取得集合中指定位置的群組。

property System::Text::RegularExpressions::Group ^ System::Collections::Generic::IList<System::Text::RegularExpressions::Group>::Item[int] { System::Text::RegularExpressions::Group ^ get(int index); void set(int index, System::Text::RegularExpressions::Group ^ value); };
System.Text.RegularExpressions.Group System.Collections.Generic.IList<System.Text.RegularExpressions.Group>.Item[int index] { get; set; }
member this.System.Collections.Generic.IList<System.Text.RegularExpressions.Group>.Item(int) : System.Text.RegularExpressions.Group with get, set
 Property Item(index As Integer) As Group Implements IList(Of Group).Item

參數

index
Int32

群組集合中群組的以零起始索引。

屬性值

位於所需位置的群組。

實作

例外狀況

無法設定項目。 此為唯讀集合。

備註

這個成員是明確介面成員實作, 只有在 GroupCollection 執行個體轉換成 IList<T> 介面時,才能使用這個成員。

適用於