編輯

共用方式為


UITableViewDelegate_Extensions.PerformAction Method

Definition

Performs the specified Copy or Paste action.

public static void PerformAction (this UIKit.IUITableViewDelegate This, UIKit.UITableView tableView, ObjCRuntime.Selector action, Foundation.NSIndexPath indexPath, Foundation.NSObject sender);
static member PerformAction : UIKit.IUITableViewDelegate * UIKit.UITableView * ObjCRuntime.Selector * Foundation.NSIndexPath * Foundation.NSObject -> unit

Parameters

This
IUITableViewDelegate

The instance on which this extension method operates.

tableView
UITableView

Table view containing the row.

action
Selector

A selector identifying the Copy or Paste method (ie. Copy(NSObject) or Paste(NSObject)).

indexPath
NSIndexPath

Location of the row where the copy or paste operation was selected.

sender
NSObject

Object that triggered the copy or paste operation.

Applies to