Upravit

Sdílet prostřednictvím


NSIndexPath.Compare(NSIndexPath) Method

Definition

Indicates the depth-first traversal order of this object compared to other (not required for use with iOS UITableView).

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

Parameters

other
NSIndexPath

Index-path to compare.

Returns

System.System.IntPtr System.nativeint

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

Attributes

Applies to