Compares the string values of the receiver another cell, disregarding case.
Original signature is '- (NSComparisonResult)compare:(id)otherCell'
Available in Mac OS X v10.0 and later.

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

- otherCell (Id)
- The cell to compare against the receiver. This parameter must be of type NSCell; if it is not, this method raises NSBadComparisonException.

NSOrderedAscending if the string value of the receiver precedes the string value of otherCell in lexical ordering, NSOrderedSame if the string values are equivalent in lexical value, and NSOrderedDescending string value of the receiver follows the string value of otherCell in lexical ordering.

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