ElementGetElementAsString Method (Name) |
Returns the value of the named sub-element as a string.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax public abstract string GetElementAsString(
Name name
)
Public MustOverride Function GetElementAsString (
name As Name
) As String
public:
virtual String^ GetElementAsString(
Name^ name
) abstract
abstract GetElementAsString :
name : Name -> string
Parameters
- name
- Type: Bloomberglp.BlpapiName
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