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

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