AvalonEdit
CompareAge Method (other)
NamespacesICSharpCode.AvalonEdit.DocumentITextSourceVersionCompareAge(ITextSourceVersion)
Compares the age of this checkpoint to the other checkpoint.
Declaration Syntax
C#Visual BasicVisual C++
int CompareAge(
	ITextSourceVersion other
)
Function CompareAge ( _
	other As ITextSourceVersion _
) As Integer
int CompareAge(
	ITextSourceVersion^ other
)
Parameters
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
ExceptionCondition
ArgumentExceptionRaised if 'other' belongs to a different document than this version.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238