CaptureCollection.Item[Int32] 屬性

定義

取得集合的個別成員。

public:
 property System::Text::RegularExpressions::Capture ^ default[int] { System::Text::RegularExpressions::Capture ^ get(int i); };
public System.Text.RegularExpressions.Capture this[int i] { get; }
member this.Item(int) : System.Text.RegularExpressions.Capture
Default Public ReadOnly Property Item(i As Integer) As Capture

參數

i
Int32

擷取集合內的索引。

屬性值

在集合中位置 i 上的擷取的子字串。

實作

例外狀況

集合是唯讀的。

i 小於 0 或大於 Count

適用於