Bloomberg API for .NET
GetValueAsEnumeration Method (index)
NamespacesBloomberglp.BlpapiElementGetValueAsEnumeration(Int32)
Returns the value of this element at the specified index as an Enumeration constant.
Declaration Syntax
C#Visual BasicVisual C++
public abstract Constant GetValueAsEnumeration(
	int index
)
Public MustOverride Function GetValueAsEnumeration ( 
	index As Integer
) As Constant
public:
virtual Constant^ GetValueAsEnumeration(
	int index
) abstract
Parameters
index (Int32)
The index of the element whose value is requested.
Return Value
Constant
The value of the element at the specified index as an Enumeration constant.
Exceptions
ExceptionCondition
IndexOutOfRangeException index >= NumValues.
InvalidConversionException The value of the element at the specified index cannot be converted to an Enumeration constant.

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