SynchronizedReadOnlyCollection<T>::IList::Item Property (Int32)

 

Gets the item at a specified zero-based index.

Namespace:   System.Collections.Generic
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.

Property Value

Type: System::Object^

Returns Object.

Gets the item at a specified zero-based index.

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
Return to top
Show: