ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / DataPointer Structure / ToArray Method / ToArray<T>() Method
Type of a buffer element

In This Topic
    ToArray<T>() Method
    In This Topic
    Converts this instance to a read only typed buffer.
    Syntax
    'Declaration
     
    Public Overloads Function ToArray(Of T As {New, Struct})() As T()
    public T[] ToArray<T>()
    where T: new(), struct

    Type Parameters

    T
    Type of a buffer element

    Return Value

    A readonly typed buffer.
    Exceptions
    ExceptionDescription
    DataPointer is Zero
    See Also