Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

OracleNumber.CompareTo Method

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

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

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

Parameters

obj
The object to be compared.

Return Value

A signed number indicating the relative values of the instance and the object.

Return Value Condition
Less than zero This instance is less than object.
Zero This instance is the same as object.
Greater than zero This instance is greater than object

-or-

object is a null reference (Nothing)

Requirements

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

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.