Bloomberg API for .NET
GetValueAsInt32 Method (index)
NamespacesBloomberglp.BlpapiElementGetValueAsInt32(Int32)
Returns the value of this element at the specified index as an int.
Declaration Syntax
C#Visual BasicVisual C++
public abstract int GetValueAsInt32(
	int index
)
Public MustOverride Function GetValueAsInt32 ( 
	index As Integer
) As Integer
public:
virtual int GetValueAsInt32(
	int index
) abstract
Parameters
index (Int32)
The index of the element whose value is requested.
Return Value
Int32
The value of the element at the specified index as 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.
Exceptions
ExceptionCondition
IndexOutOfRangeException index >= NumValues
InvalidConversionException The value of the element at the specified index cannot be converted to an int.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1