편집

다음을 통해 공유


NSMutableOrderedSet.Sort Method

Definition

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

Applies to