Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / DXUtil Class / ToByteArray<T> Method
The type of source array.
The source array.

In This Topic
    ToByteArray<T> Method (DXUtil)
    In This Topic
    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