共用方式為


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

適用於