VintaSoft Barcode .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Barcode.BarcodeInfo Namespace / BarcodeSubsetInfo Class / CompareTo(Object) Method
Syntax Requirements SeeAlso
In This Topic
    CompareTo(Object) Method (BarcodeSubsetInfo)
    In This Topic
    Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
    Syntax
    'Declaration
    
    Public Overrides Function CompareTo( _
    ByVal obj
    The object to compare.
    As Object _
    ) As Integer
    public override int CompareTo(
    object obj
    )
    public: int CompareTo(
    object* obj
    ); override
    public:
    int CompareTo(
    object^ obj
    ); override

    Parameters

    obj
    The object to compare.

    Return Value

    -1 if the Region center of this instance is less than the Region center of the specified BarcodeInfoBase instance;
    0 if the Region center of this instance is equal to the Region center of the specified BarcodeInfoBase instance;
    1 if the Region center of this instance is greater than the Region center of the specified BarcodeInfoBase instance.
    Requirements

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

    See Also