NSIndexPath.Compare(NSIndexPath) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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