Edit

Share via


CompositeCollection.Item[Int32] Property

Definition

Indexer property that retrieves or replaces the item at the given zero-based offset in the collection.

public:
 property System::Object ^ default[int] { System::Object ^ get(int itemIndex); void set(int itemIndex, System::Object ^ value); };
public object this[int itemIndex] { get; set; }
member this.Item(int) : obj with get, set
Default Public Property Item(itemIndex As Integer) As Object

Parameters

itemIndex
Int32

The zero-based offset of the item to retrieve or replace.

Property Value

The item at the specified zero-based offset.

Implements

Exceptions

If the index is out of range.

Applies to