Returns the value of this element at the specified index as a string.
| C# | Visual Basic | Visual C++ |
public abstract string GetValueAsString( int index )
Public MustOverride Function GetValueAsString ( index As Integer ) As String
public: virtual String^ GetValueAsString( int index ) abstract
- index (Int32)
- The index of the element whose value is requested.
String
The value of the element at the specified index as a string.
The value of the element at the specified index as a string.
If the datatype of the element at the specified index is not string,
this method attempts to convert it to a string.
| Exception | Condition |
|---|---|
| IndexOutOfRangeException |
index >= NumValues.
|
| InvalidConversionException |
The value of the element at the
specified index cannot be converted to a string.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1