[]
Retrieves the selected component at the specified index within the collection.
public object this[int index] { get; }
Type | Name | Description |
---|---|---|
int | index | The zero-based index of the component to retrieve. |
Type | Description |
---|---|
object | The component at the specified index. If the index is out of range, this will throw an IndexOutOfRangeException. |
This indexer provides direct access to a specific component within the selection. It is useful for iterating over the selected components or accessing a component at a specific position.
Type | Condition |
---|---|
IndexOutOfRangeException | Thrown when the |