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 }

属性

适用于