VintaSoft Barcode .NET SDK v11.0
Vintasoft.Barcode.BarcodeInfo Namespace / BarcodeInfoBase Class / CompareTo Method
The object to compare.




In This Topic
    CompareTo Method (BarcodeInfoBase)
    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 Overridable Function CompareTo( _
       ByVal obj As Object _
    ) As Integer
    'Usage
     
    Dim instance As BarcodeInfoBase
    Dim obj As Object
    Dim value As Integer
     
    value = instance.CompareTo(obj)
    public virtual int CompareTo( 
       object obj
    )
    public: virtual int CompareTo( 
       Object* obj
    ) 
    public:
    virtual int CompareTo( 
       Object^ obj
    ) 

    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: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also