ElementGetElementAsBytes Method (String) |
Note: This API is now obsolete.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.6.1
Syntax [ObsoleteAttribute("Deprecated, use GetElementAsBytes(Name) instead.")]
public abstract byte[] GetElementAsBytes(
string name
)
<ObsoleteAttribute("Deprecated, use GetElementAsBytes(Name) instead.")>
Public MustOverride Function GetElementAsBytes (
name As String
) As Byte()
public:
[ObsoleteAttribute(L"Deprecated, use GetElementAsBytes(Name) instead.")]
virtual array<unsigned char>^ GetElementAsBytes(
String^ name
) abstract
[<ObsoleteAttribute("Deprecated, use GetElementAsBytes(Name) instead.")>]
abstract GetElementAsBytes :
name : string -> byte[]
Parameters
- name
- Type: SystemString
Return Value
Type:
ByteThe value of the named sub-element as a byte[].
Exceptions Exception | Condition |
---|
NotFoundException |
The named sub-element does not exist.
|
InvalidConversionException |
The value of the named sub-element cannot be converted to a byte array.
|
NotSupportedException |
Called on non-complex type.
|
See Also