VintaSoft Barcode .NET SDK 16.0: Documentation for .NET developer
Vintasoft.Barcode.BarcodeInfo Namespace / BarcodeInfoBase Class / CompareTo(Object) Method
Syntax Requirements SeeAlso
In This Topic
CompareTo(Object) 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
The object to compare.
As Object _
) As Integer
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: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also