Returns the value of the named sub-element as a string.
Declaration Syntax
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
Parameters
- name (Name)
- The name of the required sub-element.
Return Value
String
The value of the named sub-element as a string.
The value of the named sub-element as a string.
Remarks
Same as calling GetElement(name).
GetValueAsString().
Exceptions
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.8.10.1