共用方式為


NSDocument.PerformActivity(Boolean, Action) 方法

定義

[Foundation.Export("performActivityWithSynchronousWaiting:usingBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void PerformActivity (bool waitSynchronously, Action activityCompletionHandler);
abstract member PerformActivity : bool * Action -> unit
override this.PerformActivity : bool * Action -> unit

參數

waitSynchronously
Boolean
activityCompletionHandler
Action
屬性

適用於