Returns the value of this element at the specified index as a char.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract char GetValueAsChar( int index )
Public MustOverride Function GetValueAsChar ( index As Integer ) As Char
public: virtual wchar_t GetValueAsChar( int index ) abstract
Parameters
- index (Int32)
- The index of the element whose value is requested.
Return Value
Char
The value of the element at the specified index as a char.
The value of the element at the specified index as a char.
Remarks
If the datatype of the element at the specified index is not char,
this method attempts to convert it to a char.
Exceptions
Exception | Condition |
---|---|
IndexOutOfRangeException |
index >= NumValues.
|
InvalidConversionException |
The value of the element at the
specified index cannot be converted to a char.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.8.10.1