Returns an array of the dictionary’s keys, in the order they would be in if the dictionary were sorted by its values using a given comparator block.
Original signature is '- (NSArray *)keysSortedByValueUsingComparator:(NSComparator)cmptr'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSArray KeysSortedByValueUsingComparator( Func<Id, Id, NSComparisonResult> cmptr )
Public Overridable Function KeysSortedByValueUsingComparator ( _ cmptr As Func(Of Id, Id, NSComparisonResult) _ ) As NSArray
public: virtual NSArray^ KeysSortedByValueUsingComparator( Func<Id^, Id^, NSComparisonResult>^ cmptr )
Parameters
- cmptr (Func<(Of <(<'Id, Id, NSComparisonResult>)>)>)
- A comparator block.
Return Value
An array of the dictionary’s keys, in the order they would be in if the dictionary were sorted by its values using cmptr.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)