Click or drag to resize
ElementGetValueAsEnumeration Method
Returns the value of this element as a Enumeration constant.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.10.1
Syntax
public abstract Constant GetValueAsEnumeration()

Return Value

Type: Constant
The value of this element as an Enumeration constant.
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionNumValues == 0.
InvalidConversionException The value of this element cannot be converted to an Enumeration constant.
Remarks
Same as calling GetValueAsEnumeration(0)
See Also