DiscoveryMessageSequence.CanCompareTo(DiscoveryMessageSequence) 方法

定义

获取一个值,该值指示指定的 DiscoveryMessageSequence 实例与当前的 DiscoveryMessageSequence 实例是否相当。

public:
 bool CanCompareTo(System::ServiceModel::Discovery::DiscoveryMessageSequence ^ other);
public bool CanCompareTo (System.ServiceModel.Discovery.DiscoveryMessageSequence other);
member this.CanCompareTo : System.ServiceModel.Discovery.DiscoveryMessageSequence -> bool
Public Function CanCompareTo (other As DiscoveryMessageSequence) As Boolean

参数

other
DiscoveryMessageSequence

要比较的发现消息序列。

返回

如果两个发现消息序列相当,则为 true;否则为 false

适用于