Compares the age of this checkpoint to the other checkpoint.
Declaration Syntax
C# | Visual Basic | Visual C++ |
int CompareAge( ITextSourceVersion other )
Function CompareAge ( _ other As ITextSourceVersion _ ) As Integer
int CompareAge( ITextSourceVersion^ other )
Parameters
- other (ITextSourceVersion)
Return Value
-1 if this version is older than other.
0 if this version instance represents the same version as other.
1 if this version is newer than other.
Remarks
This method is thread-safe.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Raised if 'other' belongs to a different document than this version. |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238