Creates and returns an NSSortDescriptor with the specified key and ordering.
Original signature is '+ (id)sortDescriptorWithKey:(NSString *)key ascending:(BOOL)ascending'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSSortDescriptor SortDescriptorWithKeyAscending( NSString key, bool ascending )
Public Shared Function SortDescriptorWithKeyAscending ( _ key As NSString, _ ascending As Boolean _ ) As NSSortDescriptor
public: static NSSortDescriptor^ SortDescriptorWithKeyAscending( NSString^ key, bool ascending )
Return Value
An NSSortDescriptor initialized with the specified key and ordering.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)