Gets or sets an item at a particular index in the Deque.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic override sealed T this[
int index
] { get; set; }
public:
virtual property T default[int index] {
T get (int index) override sealed;
void set (int index, T value) override sealed;
}
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:
TThe value at the indicated index.
Implements
IListTItemInt32
Exceptions
RemarksGetting or setting the item at a particular index takes a small constant amount
of time, no matter what index is used.
See Also