Returns the value of this element at the specified index as an Enumeration
constant.
Declaration Syntax
C# | Visual Basic | Visual 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.
The 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.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1