Click or drag to resize

GlobalPositioningSystemDateCompareTo Method (Object)

Compares this instance with another instance of the same type.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public int CompareTo(
	Object obj
)

Parameters

obj
Type: SystemObject
An object to compare with this instance.

Return Value

Type: Int32
A value indicating the relative order of the objects being compared. The return value has these meanings:
ValueMeaning
Less than zero This instance is less than obj.
Zero This instance is equal to obj.
Greater than zero This instance is greater than obj.

Implements

IComparableCompareTo(Object)
Exceptions
ExceptionCondition
ArgumentTypeInvalidException Thrown when the parameter obj is not of the same type as the object on which this method is called.
See Also