Click or drag to resize

TimeOffsetCompareTo Method

Compares the value of this instance to a specified TimeOffset value and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified TimeOffset value.

Namespace:  GemBox.Presentation.Media
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1032 (21.3.35.1032)
Syntax
public int CompareTo(
	TimeOffset other
)

Parameters

other
Type: GemBox.Presentation.MediaTimeOffset
The object to compare to the current instance.

Return Value

Type: Int32

A signed number indicating the relative values of this instance and the other parameter.

If returned value is less than zero, then this instance is earlier than other; else, if it is zero, then this instance is the same as other; else (if it is greater than zero) this instance is later than other.

Implements

IComparableTCompareTo(T)
See Also