Send feedback on this topic.
Teradata.Client.Provider
Equals(TdIntervalMinuteToSecond,TdIntervalMinuteToSecond) Method
Example 



Teradata.Client.Provider Namespace > TdIntervalMinuteToSecond Structure > Equals Method : Equals(TdIntervalMinuteToSecond,TdIntervalMinuteToSecond) Method
A TdIntervalMinuteToSecond instance.
A TdIntervalMinuteToSecond instance.
Compares two TdIntervalMinuteToSecond instances to determine whether they are equal.
Syntax
'Declaration
 
Public Overloads Shared Function Equals( _
   ByVal left As TdIntervalMinuteToSecond, _
   ByVal right As TdIntervalMinuteToSecond _
) As Boolean
'Usage
 
Dim left As TdIntervalMinuteToSecond
Dim right As TdIntervalMinuteToSecond
Dim value As Boolean
 
value = TdIntervalMinuteToSecond.Equals(left, right)
public static bool Equals( 
   TdIntervalMinuteToSecond left,
   TdIntervalMinuteToSecond right
)
public:
static bool Equals( 
   TdIntervalMinuteToSecond left,
   TdIntervalMinuteToSecond right
) 

Parameters

left
A TdIntervalMinuteToSecond instance.
right
A TdIntervalMinuteToSecond instance.

Return Value

true if the two TdIntervalMinuteToSecond instances are equal, false otherwise.
Remarks

The return value is true if the left is equal to the right, false otherwise.

Return Value Description
true

left is equal to right

-or-

left and right are TdIntervalMinuteToSecond.Null.

false

left is not equal to right

-or-

left is not Null and right is Null

-or-

left is Null and right is not Null.

Example
The following code example uses various comparison methods and operators.
TdIntervalMinuteToSecond firstInterval = new TdIntervalMinuteToSecond(5, 15);
TdIntervalMinuteToSecond secondInterval = new TdIntervalMinuteToSecond(20, 15);
 
// The following comparison methods and operators are equivalent
if (false == TdIntervalMinuteToSecond.Equals(firstInterval, secondInterval) ||
    firstInterval != secondInterval ||
    true == TdIntervalMinuteToSecond.NotEquals(firstInterval, secondInterval) )
{
   Console.WriteLine(“firstInterval does not equal secondInterval”);
}
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdIntervalMinuteToSecond Structure
TdIntervalMinuteToSecond Members
Overload List