ScheduledItem.CompareTo(ScheduledItem?) method¶
Defined in
Type: ScheduledItemSystem.Reactive.Concurrency
Assembly: System.Reactive.dll
Applies to
net8.0, net8.0-windows10.0.19041, netstandard2.0
public int CompareTo(ScheduledItem<TAbsolute>? other)
Inherited documentation
These docs were inherited from IComparable<ScheduledItem<TAbsolute>>. The member doesn't override them on this type.
Summary: Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Parameters
| Name | Type | Description |
|---|---|---|
other | [ScheduledItem | An object to compare with this instance. |
Returns: int -- A value that indicates the relative order of the objects being compared. The return value has these meanings:
| Value | Meaning |
|---|---|
| Less than zero | This instance precedes other in the sort order. |
| Zero | This instance occurs in the same position in the sort order as other. |
| Greater than zero | This instance follows other in the sort order. |