Skip to content

P_Cyjb_Collections_ValueList_1_Item

CYJB edited this page Mar 20, 2024 · 2 revisions

ValueList(T).Item 属性

获取指定索引处元素的引用。

Namespace: Cyjb.Collections
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6

语法

C#

public ref T this[
	int index
] { get; }

参数

 

index
Type: System.Int32
要获取的元素从零开始的索引。

属性值

Type: T
指定索引处的元素。

Exceptions

 

异常 条件
ArgumentOutOfRangeException index 不是当前列表的有效索引。

参见

Reference

ValueList(T) 结构
Cyjb.Collections 命名空间

Clone this wiki locally