Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderItemComparer Class / Compare Method
The first object to compare.
The second object to compare.
In This Topic
    Compare Method (OrderItemComparer)
    In This Topic
    Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
    Syntax
    public int Compare( 
       object x,
       object y
    )

    Parameters

    x
    The first object to compare.
    y
    The second object to compare.

    Return Value

    Less than zero if x is less than y.
    Zero of x equals y.
    Greater than zero if x is greater than y.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also