共用方式為


NSArray.Sort(NSComparator) 方法

定義

[Foundation.Export("sortedArrayUsingComparator:")]
public virtual Foundation.NSArray Sort (Foundation.NSComparator cmptr);
abstract member Sort : Foundation.NSComparator -> Foundation.NSArray
override this.Sort : Foundation.NSComparator -> Foundation.NSArray

參數

cmptr
NSComparator

傳回

屬性

適用於