Send feedback on this topic.
Teradata.Client.Provider
CompareTo(Object) Method



Teradata.Client.Provider Namespace > TdIntervalDayToSecond Structure > CompareTo Method : CompareTo(Object) Method
A TdIntervalDayToSecond object to compare.
Compares this instance to the specified TdIntervalDayToSecond parameter obj.
Syntax
'Declaration
 
Public Overloads Function CompareTo( _
   ByVal obj As Object _
) As Integer
'Usage
 
Dim instance As TdIntervalDayToSecond
Dim obj As Object
Dim value As Integer
 
value = instance.CompareTo(obj)
public int CompareTo( 
   object obj
)
public:
int CompareTo( 
   Object^ obj
) 

Parameters

obj
A TdIntervalDayToSecond object to compare.

Return Value

The result of the comparison is returned as a signed integer.
Exceptions
ExceptionDescription
obj is not of same type as TdIntervalDayToSecond.
Remarks

The integer returned when this instance is compared to obj indicates the following:

Return Value Meaning
Less than Zero

This instance is less than obj

-or-

This instance is TdIntervalDayToSecond.Null and obj is non-null.

Zero

This instance is equal to obj

-or-

This instance is Null and obj is Null.

Greater than Zero

This instance is greater than obj.

-or-

obj is Null and this instance is non-null

-or-

obj is a null reference.

obj must be an instance of TdIntervalDayToSecond type or a null reference.

Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdIntervalDayToSecond Structure
TdIntervalDayToSecond Members
Overload List
CompareTo(TdIntervalDayToSecond) Method