VintaSoft Barcode .NET SDK 15.0: Documentation for .NET developer
Vintasoft.Barcode Namespace / BarcodeSymbology Class / CompareTo(Object) Method
Syntax Requirements SeeAlso
In This Topic
    CompareTo(Object) Method (BarcodeSymbology)
    In This Topic
    Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
    Syntax
    'Declaration
    
    Public Function CompareTo( _
    ByVal obj
    An object to compare with this instance.
    As Object _
    ) As Integer
    public int CompareTo(
    object obj
    )
    public: int CompareTo(
    object* obj
    )
    public:
    int CompareTo(
    object^ obj
    )

    Parameters

    obj
    An object to compare with this instance.

    Return Value

    A value that indicates the relative order of the objects being compared. The return value has these meanings: Value Meaning Less than zero This instance precedes obj in the sort order. Zero This instance occurs in the same position in the sort order as obj. Greater than zero This instance follows obj in the sort order.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also