ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / DXUtil Class / CompareMemory Method
The pointer to compare from.
The pointer to compare against.
The size in bytes to compare.

In This Topic
    CompareMemory Method
    In This Topic
    Compares two block of memory.
    Syntax
    'Declaration
     
    Public Shared Function CompareMemory( _
       ByVal from As System.IntPtr, _
       ByVal against As System.IntPtr, _
       ByVal sizeToCompare As System.Integer _
    ) As System.Boolean
    public static System.bool CompareMemory( 
       System.IntPtr from,
       System.IntPtr against,
       System.int sizeToCompare
    )

    Parameters

    from
    The pointer to compare from.
    against
    The pointer to compare against.
    sizeToCompare
    The size in bytes to compare.

    Return Value

    true if the buffers are equivalent; otherwise, false.
    See Also