InstancePersistenceEvent.Equality 运算符

定义

返回一个值,该值指示指定的 InstancePersistenceEvent 对象是否相同。

public:
 static bool operator ==(System::Runtime::DurableInstancing::InstancePersistenceEvent ^ left, System::Runtime::DurableInstancing::InstancePersistenceEvent ^ right);
public static bool operator == (System.Runtime.DurableInstancing.InstancePersistenceEvent left, System.Runtime.DurableInstancing.InstancePersistenceEvent right);
static member ( = ) : System.Runtime.DurableInstancing.InstancePersistenceEvent * System.Runtime.DurableInstancing.InstancePersistenceEvent -> bool
Public Shared Operator == (left As InstancePersistenceEvent, right As InstancePersistenceEvent) As Boolean

参数

left
InstancePersistenceEvent

要比较的第一个 InstancePersistenceEvent 对象。

right
InstancePersistenceEvent

要比较的第二个 InstancePersistenceEvent 对象。

返回

如果两个对象相同,则为 true;否则为 false

适用于