Send feedback on this topic.
Teradata.Client.Provider
NotEquals Method (TdPeriodTimestamp)



Teradata.Client.Provider Namespace > TdPeriodTimestamp Structure : NotEquals Method
An instance of TdPeriodTimestamp.
An instance of TdPeriodTimestamp.
Compares two TdPeriodTimestamp structures to determine whether the left operand is not equal to the right operand.
Syntax
'Declaration
 
Public Shared Function NotEquals( _
   ByVal left As TdPeriodTimestamp, _
   ByVal right As TdPeriodTimestamp _
) As Boolean
'Usage
 
Dim left As TdPeriodTimestamp
Dim right As TdPeriodTimestamp
Dim value As Boolean
 
value = TdPeriodTimestamp.NotEquals(left, right)
public static bool NotEquals( 
   TdPeriodTimestamp left,
   TdPeriodTimestamp right
)
public:
static bool NotEquals( 
   TdPeriodTimestamp left,
   TdPeriodTimestamp right
) 

Parameters

left
An instance of TdPeriodTimestamp.
right
An instance of TdPeriodTimestamp.

Return Value

A boolean is returned that indicates the result of the comparison.
Remarks

To determine whether two periods are not equal, the beginning and ending bounds between the left and right operands are compared. The two periods are not equal if the following is true:

    left.Begin != right.Begin || left.End != right.End

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

Return Value Description
true

left or right is TdPeriodTimestamp.Null

-or-

left is less than or greater than right.

false

left and right are Null

-or-

left is equal to right.

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

TdPeriodTimestamp Structure
TdPeriodTimestamp Members