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

 

Returns the object in the collection that has the specified index.

Namespace:   System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

private:
property T default[
	int index
] {
	virtual T get(int index) sealed = IList<T>::default::get;
	virtual void set(int index, T value) sealed = IList<T>::default::set;
}

Parameters

index
Type: System::Int32

The zero-based index of the element to be retrieved from the collection.

Property Value

Type: T

Returns Boolean.

Returns the object in the collection that has the specified index.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: