Foundation.NSIndexPath Class
Represents the path to a node in a tree. In iOS this class is most commonly used to identify a row in a UIKit.UITableView.

See Also: NSIndexPath Members

Syntax

[Foundation.Register("NSIndexPath", true)]
public class NSIndexPath : NSObject, INSCopying, INSSecureCoding, IDisposable

Remarks

The API used in iOS with UIKit.UITableView consists of a static method to create new objects and two properties. The NSIndexPath.FromRowSection(nint, nint) method creates a new instance from row and section numbers. The properties NSIndexPath.Row and NSIndexPath.Section return the relevant values from populated instances.

This class has other uses beyond UIKit.UITableView, which would involve using the rest of the class's properties and methods.

Related content

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0