Share via


TimeInterval<T>.Equality Operator

Indicates whether first and second arguments are equal.

Namespace:  System.Reactive
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    first As TimeInterval(Of T), _
    second As TimeInterval(Of T) _
) As Boolean
'Usage
Dim first As TimeInterval(Of T)
Dim second As TimeInterval(Of T)
Dim returnValue As Boolean

returnValue = (first = second)
public static bool operator ==(
    TimeInterval<T> first,
    TimeInterval<T> second
)
public:
static bool operator ==(
    TimeInterval<T> first, 
    TimeInterval<T> second
)
static let inline (=)
        first:TimeInterval<'T> * 
        second:TimeInterval<'T>  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
true if both arguments are equal; otherwise, false.

See Also

Reference

TimeInterval<T> Structure

System.Reactive Namespace