| ElementGetElementAsString Method (String) |
Note: This API is now obsolete.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.20.3.1
Syntax[ObsoleteAttribute("Deprecated, use GetElementAsString(Name) instead.")]
public abstract string GetElementAsString(
string name
)<ObsoleteAttribute("Deprecated, use GetElementAsString(Name) instead.")>
Public MustOverride Function GetElementAsString (
name As String
) As Stringpublic:
[ObsoleteAttribute(L"Deprecated, use GetElementAsString(Name) instead.")]
virtual String^ GetElementAsString(
String^ name
) abstract
[<ObsoleteAttribute("Deprecated, use GetElementAsString(Name) instead.")>]
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