編輯

共用方式為


UITableViewDataSource_Extensions.CommitEditingStyle Method

Definition

Commits the insertion or deletion of the specified row.

public static void CommitEditingStyle (this UIKit.IUITableViewDataSource This, UIKit.UITableView tableView, UIKit.UITableViewCellEditingStyle editingStyle, Foundation.NSIndexPath indexPath);
static member CommitEditingStyle : UIKit.IUITableViewDataSource * UIKit.UITableView * UIKit.UITableViewCellEditingStyle * Foundation.NSIndexPath -> unit

Parameters

This
IUITableViewDataSource

The instance on which this extension method operates.

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.

Applies to