Returns the value of the element having the specified name as
a string value.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract string GetElementAsString( string name )
Public MustOverride Function GetElementAsString ( name As String ) As String
public: virtual String^ GetElementAsString( String^ name ) abstract
Parameters
- name (String)
- An element name.
Return Value
String
The value of the element having specified name as a string value.
The value of the element having specified name as a string value.
Remarks
Same as calling AsElement.
GetElementAsString(name)
Exceptions
Exception | Condition |
---|---|
NotFoundException |
This message does not contain an element having the specified name.
|
InvalidConversionException |
The value is not convertible to
a string value.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.8.10.1