ComponentOne Bitmap for UWP
ToByteArray<T> Method (DXUtil)

C1.UWP.DX Assembly > C1.Util.DX Namespace > DXUtil Class : ToByteArray<T> Method
The type of source array.
The source array.
Converts a structured array to an equivalent byte array.
Syntax
'Declaration
 
Public Shared Function ToByteArray(Of T As {New, Struct})( _
   ByVal source() As T _
) As System.Byte()
public static System.byte[] ToByteArray<T>( 
   T[] source
)
where T: new(), struct

Parameters

source
The source array.

Type Parameters

T
The type of source array.

Return Value

Converted byte array.
See Also

Reference

DXUtil Class
DXUtil Members