ReadOnlyCollectionBuilder<T>::Item Property (Int32)

 

Gets or sets the element at the specified index.

Namespace:   System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.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 get or set.

Property Value

Type: T

The element at the specified index.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Return to top
Show: