共用方式為


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
屬性

適用於