Buffer: ByteLength |
Returns the length of the array in bytes.
Public Function ByteLength( ByRef Arr As Variant ) As Long
The size is calculated by taking the number of elements in the array and multiply it by the number of bytes each element is in length.
Exception | Condition |
---|---|
ArgumentNullException | Arr is unintialized. |
ArgumentException | Arr is not an array. |