SynchronizedReadOnlyCollection<T>::IList::Item Property (Int32)
.NET Framework (current version)
Gets 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 |
|---|---|
| NotSupportedException | Items cannot be set in a read-only collection. |
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: