Returns an NSComparisonResult value that indicates the temporal ordering of the receiver and another given date.
Original signature is '- (NSComparisonResult)compare:(NSDate *)anotherDate'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public virtual NSComparisonResult Compare( NSDate anotherDate )
Public Overridable Function Compare ( _ anotherDate As NSDate _ ) As NSComparisonResult
public: virtual NSComparisonResult Compare( NSDate^ anotherDate )

- anotherDate (NSDate)
- The date with which to compare the receiver.

If:

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)