SynchronizedCollection<T>::IList::Item Property (Int32)
.NET Framework (current version)
Gets or sets the item at a specified zero-based index.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
private: property Object^ default[ int index ] { virtual Object^ get(int index) sealed = IList::default::get; virtual void set(int index, Object^ value) sealed = IList::default::set; }
Parameters
- index
-
Type:
System::Int32
The zero-based index of the element to be retrieved from the collection.
Implements
IList::Item[Int32]| Exception | Condition |
|---|---|
| ArgumentException | The value set is null or is not of the correct generic type T for the collection. |
| 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: