Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / DXUtil Class / ReadOut<T> Method
Type of a data to read.
Memory location to read from.
The data write to.

In This Topic
    ReadOut<T> Method
    In This Topic
    Reads the specified T data from a memory location.
    Syntax
    'Declaration
     
    Public Shared Sub ReadOut(Of T As {New, Struct})( _
       ByVal source As System.IntPtr, _
       ByRef data As T _
    ) 
    public static void ReadOut<T>( 
       System.IntPtr source,
       out T data
    )
    where T: new(), struct

    Parameters

    source
    Memory location to read from.
    data
    The data write to.

    Type Parameters

    T
    Type of a data to read.

    Return Value

    source pointer + sizeof(T).
    See Also