共用方式為


DiscoveryMessageSequence.Equality 運算子

定義

判斷兩個指定的 DiscoveryMessageSequence 執行個體是否相等。

public:
 static bool operator ==(System::ServiceModel::Discovery::DiscoveryMessageSequence ^ messageSequence1, System::ServiceModel::Discovery::DiscoveryMessageSequence ^ messageSequence2);
public static bool operator == (System.ServiceModel.Discovery.DiscoveryMessageSequence messageSequence1, System.ServiceModel.Discovery.DiscoveryMessageSequence messageSequence2);
static member ( = ) : System.ServiceModel.Discovery.DiscoveryMessageSequence * System.ServiceModel.Discovery.DiscoveryMessageSequence -> bool
Public Shared Operator == (messageSequence1 As DiscoveryMessageSequence, messageSequence2 As DiscoveryMessageSequence) As Boolean

參數

messageSequence1
DiscoveryMessageSequence

探索訊息序列。

messageSequence2
DiscoveryMessageSequence

探索訊息序列。

傳回

如果兩個探索訊息序列的執行個體相等,則為 true,否則為 false

適用於