Returns the value of this element at the specified index as an Enumeration
constant.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract Name GetValueAsName( int index )
Public MustOverride Function GetValueAsName ( index As Integer ) As Name
public: virtual Name^ GetValueAsName( int index ) abstract
Parameters
- index (Int32)
- The index of the element whose value is requested.
Return Value
Name
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.9.6.1