IEnumerable<T>.TryGetElementAt Method
Definition
Attempts to get the element at a specified index in the sequence.
Delphi
function TryGetElementAt(var value: T; index: Integer): Boolean
Parameters
- value
- T
The element at the specified position in the sequence.
- index
- Integer
The zero-based index of the element to retrieve.
Returns
Boolean
True if index is inside the bounds of the sequence;
otherwise, False .