Show / Hide Table of Contents

    Method CompareTo

    CompareTo(Object)

    Compares this Uuid instance with another Uuid instance and returns an integer value that indicates whether this instance precedes, follows, or occurs at the same position in the sort order as the other instance.
    Declaration
    public int CompareTo(object obj)
    Parameters
    Type Name Description
    Object obj Another Uuid instance to compare this instance to.
    Returns
    Type Description
    Int32 A value less than zero, if this instance precedes obj, zero, if this instance occurs at the same position as obj, or greater than zero, if this instance follows obj in the sort order.
    Exceptions
    Type Condition
    ArgumentException obj is not an Uuid instance.

    CompareTo(Uuid)

    Compares this Uuid instance with another Uuid instance and returns an integer value that indicates whether this instance precedes, follows, or occurs at the same position in the sort order as the other instance.
    Declaration
    public int CompareTo(Uuid uuid)
    Parameters
    Type Name Description
    Uuid uuid Another Uuid instance to compare this instance to.
    Returns
    Type Description
    Int32 A value less than zero, if this instance precedes uuid, zero, if this instance occurs at the same position as uuid, or greater than zero, if this instance follows uuid in the sort order.
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.