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

 

Gets or sets the Object at the specified index.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.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 index.

Property Value

Type: System::Object^

Exception Condition
NotSupportedException

Always thrown from the setter.

InvalidOperationException

Thrown if the IsDefault property returns true.

Return to top
Show: