PeriodCompareTo Method

Compares this instance to a specified object and returns an indication of their relative values

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public int CompareTo(
	Object obj
)

Parameters

obj  Object
An object to compare or null

Return Value

Int32
Returns -1 if this instance is less than the value, 0 if they are equal, or 1 if this instance is greater than the value or the value is null.

Implements

IComparableCompareTo(Object)

Exceptions

ArgumentExceptionThis is thrown if the object to be compared is not a Period.

See Also