CaptureCollection.Item[Int32] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取集合的单个成员。
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。