ElementSize Data Member Function

Returns the size in bytes of each element of the array. Returns 4 because a <Color> object requires 4 bytes of storage for each element in the array.

Prototype

int32 ElementSize()

Examples

Copy Text To Clipboard

import library "app_service_console_util.ssl";

auto ColorArray a;
Console.Out( a.ElementSize() );

Results

4