共用方式為


Subscription.Equals 方法 (Subscription)

檢查指定的訂用帳戶是否等於目前的實例。

Namespace:Microsoft.Reactive.Testing
裝配: Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)

語法

'Declaration
Public Function Equals ( _
    other As Subscription _
) As Boolean
'Usage
Dim instance As Subscription
Dim other As Subscription
Dim returnValue As Boolean

returnValue = instance.Equals(other)
public bool Equals(
    Subscription other
)
public:
virtual bool Equals(
    Subscription other
) sealed
abstract Equals : 
        other:Subscription -> bool 
override Equals : 
        other:Subscription -> bool 
public final function Equals(
    other : Subscription
) : boolean

參數

傳回值

類型: System.Boolean
如果兩個物件相等,則為 true;否則為 false。

實作

IEquatable < T > . (等於 T)

另請參閱

參考

訂用帳戶結構

等於多載

Microsoft.Reactive.Testing 命名空間