MonobjcMonobjc Documented Class Library
Compare Method (otherCell)
NamespacesMonobjc.AppKitNSCellCompare(Id)

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.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSComparisonResult Compare(
	Id otherCell
)
Public Overridable Function Compare ( _
	otherCell As Id _
) As NSComparisonResult
public:
virtual NSComparisonResult Compare(
	Id^ otherCell
)
Parameters
otherCell (Id)
The cell to compare against the receiver. This parameter must be of type NSCell; if it is not, this method raises NSBadComparisonException.
Return Value
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.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)