共用方式為


NSNumber.CompareTo 方法

定義

多載

CompareTo(NSNumber)
CompareTo(Object)

CompareTo(NSNumber)

public int CompareTo (Foundation.NSNumber other);
abstract member CompareTo : Foundation.NSNumber -> int
override this.CompareTo : Foundation.NSNumber -> int

參數

other
NSNumber

傳回

實作

適用於

CompareTo(Object)

public int CompareTo (object obj);
abstract member CompareTo : obj -> int
override this.CompareTo : obj -> int

參數

obj
Object

傳回

實作

適用於