Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

AValue..::..ElementAtOrDefault Method

Returns the element at a specified index in a sequence or an Empty if the index is out of range or not a CDT.

Namespace:  Aerospike.Database.LINQPadDriver.Extensions
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public AValue ElementAtOrDefault(
	int index
)

Parameters

index
Type: Int32
The index of the element to retrieve, which is either from the beginning or the end of the sequence.

Return Value

An AValue or an Empty