SimpleTimeCompareTo Method (Object) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Compares the current SimpleTime with another SimpleTime.

Namespace: ContentStudio.Document.Subscription
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public int CompareTo(
	Object other
)

Parameters

other
Type: SystemObject
A SimpleTime to compare with this SimpleTime. This object must be a SimpleTime or null.

Return Value

Type: Int32
A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings:
  • Value less than zero: This object is less than the other parameter.
  • Zero: This object is equal to other.
  • Greater than zero: This object is greater than other.

Implements

IComparableCompareTo(Object)
Exceptions

ExceptionCondition
ArgumentExceptionThe other is not null and not a SimpleTime.
See Also

Reference