SynchronizedCollection<T>::Item Property (Int32)
.NET Framework (current version)
Gets an element from the thread-safe collection with a specified index.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property T default[ int index ] { virtual T get(int index) sealed; virtual void set(int index, T value) sealed; }
Parameters
- index
-
Type:
System::Int32
The zero-based index of the element to be retrieved from the collection.
Implements
IList<T>::Item[Int32]| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The index specified is less than zero or greater than the number of items in the collection. |
.NET Framework
Available since 3.0
Available since 3.0
Show: