語言

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。

適用於