带<时间戳的 T>。相等运算符

指示第一个和第二个参数是否相等。

Namespace:System.Reactive
装配: System.Reactive.dll) 中的 System.Reactive (

语法

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

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

参数

返回值

类型: System.Boolean
如果两个参数相等,则为 true;否则为 false。

另请参阅

参考

带时间戳的<T> 结构

System.Reactive 命名空间