Click or drag to resize
ElementGetValueAsBytes Method (Int32)
Returns the value of this element at the specified index as a byte array.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.4.1
Syntax
public abstract byte[] GetValueAsBytes(
	int index
)

Parameters

index
Type: SystemInt32
The index of the element whose value is requested.

Return Value

Type: Byte
The value of the element at the specified index as a byte array.
Exceptions
ExceptionCondition
IndexOutOfRangeException index >= NumValues.
InvalidConversionException The value of the element at the specified index cannot be converted to a byte array.
Remarks
If the datatype of the element at the specified index is not byte array, this method attempts to convert it to a byte array.
See Also