NSOperationQueue.AddOperation 方法

定义

重载

AddOperation(NSOperation)
AddOperation(Action)

AddOperation(NSOperation)

[Foundation.Export("addOperation:")]
public virtual void AddOperation (Foundation.NSOperation op);
abstract member AddOperation : Foundation.NSOperation -> unit
override this.AddOperation : Foundation.NSOperation -> unit

参数

op
NSOperation

.

此参数可以为 null

属性

适用于

AddOperation(Action)

[Foundation.Export("addOperationWithBlock:")]
public virtual void AddOperation (Action operation);
abstract member AddOperation : Action -> unit
override this.AddOperation : Action -> unit

参数

operation
Action
属性

适用于