语言

SynchronizedReadOnlyCollection<T>.Item[Int32] 属性

定义

从具有指定索引的线程安全只读集合中获取元素。

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

要从集合中检索的元素的从零开始的索引。

属性值

T

集合中具有指定对象的 index对象。

适用于