Share via


UITableViewDataSource.CommitEditingStyle Method

Definition

Commits the insertion or deletion of the specified row.

[Foundation.Export("tableView:commitEditingStyle:forRowAtIndexPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void CommitEditingStyle(UIKit.UITableView tableView, UIKit.UITableViewCellEditingStyle editingStyle, Foundation.NSIndexPath indexPath);
[<Foundation.Export("tableView:commitEditingStyle:forRowAtIndexPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CommitEditingStyle : UIKit.UITableView * UIKit.UITableViewCellEditingStyle * Foundation.NSIndexPath -> unit
override this.CommitEditingStyle : UIKit.UITableView * UIKit.UITableViewCellEditingStyle * Foundation.NSIndexPath -> unit

Parameters

tableView
UITableView

Table view requesting insertion or deletion.

editingStyle
UITableViewCellEditingStyle

Cell editing style requested for the row at indexPath, such as Insert or Delete.

indexPath
NSIndexPath

Location of the row.

Implements

Attributes

Applies to