Export (0) Print
Expand All

OracleMonthSpan.CompareTo Method

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

Compares this OracleMonthSpan structure 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

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

Show:
© 2014 Microsoft