ElementGetElementAsBytes Method (Name) |
Returns the value of the named sub-element as a byte array.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.23.1.1
Syntax public abstract byte[] GetElementAsBytes(
Name name
)
Public MustOverride Function GetElementAsBytes (
name As Name
) As Byte()
public:
virtual array<unsigned char>^ GetElementAsBytes(
Name^ name
) abstract
abstract GetElementAsBytes :
name : Name -> byte[]
Parameters
- name
- Type: Bloomberglp.BlpapiName
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