Sorts the array using the specified options and the comparison method specified by a given NSComparator Block.
Original signature is '- (void)sortWithOptions:(NSSortOptions)opts usingComparator:(NSComparator)cmptr'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void SortWithOptionsUsingComparator( NSSortOptions opts, Func<Id, Id, NSComparisonResult> cmptr )
Public Overridable Sub SortWithOptionsUsingComparator ( _ opts As NSSortOptions, _ cmptr As Func(Of Id, Id, NSComparisonResult) _ )
public: virtual void SortWithOptionsUsingComparator( NSSortOptions opts, Func<Id^, Id^, NSComparisonResult>^ cmptr )
Parameters
- opts (NSSortOptions)
- A bitmask that specifies the options for the sort (whether it should be performed concurrently and whether it should be performed stably).
- cmptr (Func<(Of <(<'Id, Id, NSComparisonResult>)>)>)
- A comparator block.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)