ElementGetElementAsString Method (String) |
Returns the value of the named sub-element as a string.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.16.0.1
Syntax public abstract string GetElementAsString(
string name
)
Public MustOverride Function GetElementAsString (
name As String
) As String
public:
virtual String^ GetElementAsString(
String^ name
) abstract
abstract GetElementAsString :
name : string -> string
Parameters
- name
- Type: SystemString
The name of the required sub-element.
Return Value
Type:
StringThe value of the named sub-element as a string.
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.
|
Remarks See Also