指示第一个和第二个参数是否相等。
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.
参数
- first
类型: System.Reactive.Timestamped<T>
第一个参数。
- 第 2 个
类型: System.Reactive.Timestamped<T>
第二个参数。
返回值
类型: System.Boolean
如果两个参数相等,则为 true;否则为 false。