Returns the value of the named sub-element as a string.
| C# | Visual Basic | Visual C++ |
public abstract string GetElementAsString( Name name )
Public MustOverride Function GetElementAsString ( name As Name ) As String
public: virtual String^ GetElementAsString( Name^ name ) abstract
- name (Name)
- The name of the required sub-element.
String
The value of the named sub-element as a string.
The value of the named sub-element as a string.
Same as calling GetElement(name).
GetValueAsString().
| Exception | Condition |
|---|---|
| NotFoundException |
The named sub-element does not exist.
|
| InvalidConversionException |
The value of the named sub-element cannot be converted to a string.
|
| NotSupportedException |
Called on non-complex type.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1