共用方式為


NSDocument.LockDocumentWithCompletionHandler 方法

定義

[Foundation.Export("lockDocumentWithCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void LockDocumentWithCompletionHandler (AppKit.NSDocumentLockDocumentCompletionHandler completionHandler);
abstract member LockDocumentWithCompletionHandler : AppKit.NSDocumentLockDocumentCompletionHandler -> unit
override this.LockDocumentWithCompletionHandler : AppKit.NSDocumentLockDocumentCompletionHandler -> unit

參數

屬性

適用於