C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System
Buffer Class
Buffer Methods
BlockCopy Method
ByteLength Method
GetByte Method
Buffer
ByteLength Method
Returns the number of bytes in the specified array.
Namespace:
System
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
static
int
ByteLength
(
Array
array
)
Parameters
array
Type:
System
Array
An array.
Return Value
Type:
Int32
The number of bytes in the array.
Exceptions
Exception
Condition
ArgumentNullException
array
is null.
ArgumentException
array
is not a primitive.
See Also
Reference
Buffer Class
System Namespace