Click or drag to resize
ElementGetValueAsInt64 Method (Int32)
Returns the value of this element at the specified index as a long.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.23.1.1
Syntax
public abstract long GetValueAsInt64(
	int index
)

Parameters

index
Type: SystemInt32
The index of the element whose value is requested.

Return Value

Type: Int64
The value of the element at the specified index as a long.
Exceptions
ExceptionCondition
IndexOutOfRangeException index >= NumValues.
InvalidConversionException The value of the element at the specified index cannot be converted to a long.
Remarks
If the datatype of the element at the specified index is not long, this method attempts to convert it to a long.
See Also