This documentation is archived and is not being maintained.

TimeSpan.CompareTo Method

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

Name Description
TimeSpan.CompareTo (Object) Compares this instance to a specified object and returns an indication of their relative values.

Supported by the .NET Compact Framework.

TimeSpan.CompareTo (TimeSpan) Compares this instance to a specified TimeSpan object and returns an indication of their relative values.

Supported by the .NET Compact Framework.

Show: