Click or drag to resize
DequeTItem Property
Gets or sets an item at a particular index in the Deque.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public override sealed T this[
	int index
] { get; set; }

Parameters

index
Type: SystemInt32
The index of the item to retrieve or change. The front item has index 0, and the back item has index Count-1.

Return Value

Type: T
The value at the indicated index.

Implements

IListTItemInt32
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe index is less than zero or greater than or equal to Count.
Remarks
Getting or setting the item at a particular index takes a small constant amount of time, no matter what index is used.
See Also