SynchronizedReadOnlyCollection<T>.Item[Int32] 属性

定义

获取线程安全的只读集合中具有指定索引的元素。Gets an element from the thread-safe, read-only collection with a specified index.

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 be retrieved from the collection.

属性值

T

集合中具有指定 index 的对象。The object in the collection that has the specified index.

适用于