Shift TypeCompare To Method
Compare by start times. If start time is the same then compare by ID.
Definition
Namespace: ASAP.NRP.Core
Assembly: NRP (in NRP.dll) Version: 3.49.0+964b2dfb493dfda37da83e5373992cb1cc934e98
Less than zero if this ShiftType precedes s, greater than zero if it follows s, zero otherwise.
Assembly: NRP (in NRP.dll) Version: 3.49.0+964b2dfb493dfda37da83e5373992cb1cc934e98
C#
public int CompareTo(
ShiftType s
)VB
Public Function CompareTo (
s As ShiftType
) As IntegerC++
public:
virtual int CompareTo(
ShiftType^ s
) sealedF#
abstract CompareTo :
s : ShiftType -> int
override CompareTo :
s : ShiftType -> int Parameters
- s ShiftType
- The ShiftType to compare to.
Return Value
Int32Less than zero if this ShiftType precedes s, greater than zero if it follows s, zero otherwise.