檢查兩個指定的記錄物件是否相等。
Namespace:Microsoft.Reactive.Testing
裝配: Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)
語法
'Declaration
Public Shared Operator = ( _
left As Recorded(Of T), _
right As Recorded(Of T) _
) As Boolean
'Usage
Dim left As Recorded(Of T)
Dim right As Recorded(Of T)
Dim returnValue As Boolean
returnValue = (left = right)
public static bool operator ==(
Recorded<T> left,
Recorded<T> right
)
public:
static bool operator ==(
Recorded<T> left,
Recorded<T> right
)
static let inline (=)
left:Recorded<'T> *
right:Recorded<'T> : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.
參數
- left
類型:Microsoft.Reactive.Testing.Recorded<T>
要檢查是否相等的第一個物件。
- 向右
類型:Microsoft.Reactive.Testing.Recorded<T>
要檢查是否相等的第二個物件。
傳回值
類型: System.Boolean
如果兩個物件相等,則為 True;否則為 false。