Redigera

Dela via


DiscoveryMessageSequence.CompareTo(DiscoveryMessageSequence) Method

Definition

Compares the specified DiscoveryMessageSequence instance with the current DiscoveryMessageSequence instance.

public:
 virtual int CompareTo(System::ServiceModel::Discovery::DiscoveryMessageSequence ^ other);
public int CompareTo (System.ServiceModel.Discovery.DiscoveryMessageSequence other);
abstract member CompareTo : System.ServiceModel.Discovery.DiscoveryMessageSequence -> int
override this.CompareTo : System.ServiceModel.Discovery.DiscoveryMessageSequence -> int
Public Function CompareTo (other As DiscoveryMessageSequence) As Integer

Parameters

other
DiscoveryMessageSequence

The discovery message sequence to compare.

Returns

0 if the two discovery message sequences are equal, a negative number if the message number of other is greater than the message number of the current discovery sequence.

Implements

Applies to