NSMutableOrderedSet.Sort Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Sort(NSComparator) |
Reorders the set according to the specified comparator. |
Sort(NSSortOptions, NSComparator) |
Sort(NSComparator)
Reorders the set according to the specified comparator.
[Foundation.Export("sortUsingComparator:")]
public virtual void Sort (Foundation.NSComparator comparator);
abstract member Sort : Foundation.NSComparator -> unit
override this.Sort : Foundation.NSComparator -> unit
Parameters
- comparator
- NSComparator
- Attributes
Applies to
Sort(NSSortOptions, NSComparator)
[Foundation.Export("sortWithOptions:usingComparator:")]
public virtual void Sort (Foundation.NSSortOptions sortOptions, Foundation.NSComparator comparator);
abstract member Sort : Foundation.NSSortOptions * Foundation.NSComparator -> unit
override this.Sort : Foundation.NSSortOptions * Foundation.NSComparator -> unit
Parameters
- sortOptions
- NSSortOptions
- comparator
- NSComparator
- Attributes