ImmutableArray<T>.Item[Int32] 属性

定义

获取位于不可变数组中指定索引处的元素。Gets the element at the specified index in the immutable array.

public:
 property T default[int] { T get(int index); };
public T this[int index] { get; }
member this.Item(int) : 'T
Default Public ReadOnly Property Item(index As Integer) As T

参数

index
Int32

要获取的元素的索引(索引从零开始)。The zero-based index of the element to get.

属性值

T

位于不可变数组中指定索引处的元素。The element at the specified index in the immutable array.

实现

适用于