Click or drag to resize
BufferByteLength Method
Returns the number of bytes in the specified array.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static int ByteLength(
	Array array
)

Parameters

array
Type: SystemArray
An array.

Return Value

Type: Int32
The number of bytes in the array.
Exceptions
ExceptionCondition
ArgumentNullExceptionarray is null.
ArgumentExceptionarray is not a primitive.
See Also