OracleTimeSpan.CompareTo Method
.NET Framework 1.1
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.
Compares this OracleTimeSpan 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:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
OracleTimeSpan Structure | OracleTimeSpan Members | System.Data.OracleClient Namespace