共用方式為


NSDocument.PerformSynchronousFileAccess(Action) 方法

定義

[Foundation.Export("performSynchronousFileAccessUsingBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void PerformSynchronousFileAccess (Action fileAccessCallback);
abstract member PerformSynchronousFileAccess : Action -> unit
override this.PerformSynchronousFileAccess : Action -> unit

參數

fileAccessCallback
Action
屬性

適用於