ComponentOne Bitmap for UWP
WriteAndPosition<T> Method

C1.UWP.DX Assembly > C1.Util.DX Namespace > DXUtil Class : WriteAndPosition<T> Method
Type of a data to write.
Memory location to write to.
The data to write.
Writes the specified T data to a memory location.
Syntax
'Declaration
 
Public Shared Function WriteAndPosition(Of T As {New, Struct})( _
   ByVal destination As System.IntPtr, _
   ByRef data As T _
) As System.IntPtr
public static System.IntPtr WriteAndPosition<T>( 
   System.IntPtr destination,
   ref T data
)
where T: new(), struct

Parameters

destination
Memory location to write to.
data
The data to write.

Type Parameters

T
Type of a data to write.

Return Value

destination pointer + sizeof(T).
See Also

Reference

DXUtil Class
DXUtil Members