MonobjcMonobjc Documented Class Library
KeysSortedByValueUsingSelector Method (comparator)
NamespacesMonobjc.FoundationNSDictionaryKeysSortedByValueUsingSelector(IntPtr)

Returns an array of the dictionary’s keys, in the order they would be in if the dictionary were sorted by its values.

Original signature is '- (NSArray *)keysSortedByValueUsingSelector:(SEL)comparator'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSArray KeysSortedByValueUsingSelector(
	IntPtr comparator
)
Public Overridable Function KeysSortedByValueUsingSelector ( _
	comparator As IntPtr _
) As NSArray
public:
virtual NSArray^ KeysSortedByValueUsingSelector(
	IntPtr comparator
)
Parameters
comparator (IntPtr)
A selector that specifies the method to use to compare the values in the dictionary.
Return Value
An array of the dictionary’s keys, in the order they would be in if the dictionary were sorted by its values.
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.Foundation (Module: Monobjc.Foundation)