SequenceNumber.CompareTo(SequenceNumber) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares this sequence number with a specified object.
public:
virtual int CompareTo(System::IO::Log::SequenceNumber other);
public int CompareTo (System.IO.Log.SequenceNumber other);
abstract member CompareTo : System.IO.Log.SequenceNumber -> int
override this.CompareTo : System.IO.Log.SequenceNumber -> int
Public Function CompareTo (other As SequenceNumber) As Integer
Parameters
- other
- SequenceNumber
An object that evaluates to the current sequence number.
Returns
A 32-bit signed integer indicating the lexical relationship between the two comparands.
Value | Condition |
Less than zero | This instance is less than other .
|
Zero | This instance is equal to other .
|
Greater than zero | This instance is greater than other .
|
Implements
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.