This documentation is archived and is not being maintained.

OracleBinary.CompareTo Method

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Compares this OracleBinary object to the supplied object and returns an indication of their relative values.

[Visual Basic]
Public Overridable Function CompareTo( _
   ByVal obj As Object _
) As Integer
public virtual int CompareTo(
 object obj
public: virtual int CompareTo(
 Object* obj
public function CompareTo(
   obj : Object
) : int;


The object to be compared to this OracleBinary structure.

Return Value

A signed number indicating the relative values of this OracleBinary structure and the object.

Return Value Condition
Less than zero The value of this OracleBinary object is less than the object.
Zero This OracleBinary object is the same as object.
Greater than zero This OracleBinary object is greater than object.


The object is a null reference.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

OracleBinary Structure | OracleBinary Members | System.Data.OracleClient Namespace