Unit.Equals 方法 (Unit)

指示当前单位是否等于指定的单位。

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

语法

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

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

parameters

返回值

类型: System.Boolean
始终返回 true。

实现

IEquatable<T>.等于 T) (

另请参阅

参考

单元结构

等于重载

System.Reactive 命名空间