共用方式為


NSIndexPath.Compare(NSIndexPath) 方法

定義

指出與 other iOS UITableView) 搭配使用不需要的 (相比,此物件的深度優先周遊順序。

[Foundation.Export("compare:")]
public virtual nint Compare (Foundation.NSIndexPath other);
abstract member Compare : Foundation.NSIndexPath -> nint
override this.Compare : Foundation.NSIndexPath -> nint

參數

other
NSIndexPath

要比較的索引路徑。

傳回

System.System.IntPtr System.nativeint

NSComparisonResult { NSOrderedAscending = -1, NSOrderedSame = 0, NSOrderedDescending = 1 }

屬性

適用於