ElementGetValueAsEnumeration Method (Int32) |
Returns the value of this element at the specified index as an Enumeration
constant.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.10.1
Syntax public abstract Constant GetValueAsEnumeration(
int index
)
Public MustOverride Function GetValueAsEnumeration (
index As Integer
) As Constant
public:
virtual Constant^ GetValueAsEnumeration(
int index
) abstract
abstract GetValueAsEnumeration :
index : int -> Constant
Parameters
- index
- Type: SystemInt32
The index of the element whose value is requested.
Return Value
Type:
ConstantThe value of the element at the specified index as an Enumeration
constant.
Exceptions Exception | Condition |
---|
IndexOutOfRangeException |
index >= NumValues.
|
InvalidConversionException |
The value of the element at the
specified index cannot be converted to an Enumeration constant.
|
See Also