Click or drag to resize
ElementGetValueAsInt32 Method (Int32)
Returns the value of this element at the specified index as an int.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.10.1
Syntax
public abstract int GetValueAsInt32(
	int index
)

Parameters

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

Return Value

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