NSDocument.EncodeRestorableState 方法

定义

重载

EncodeRestorableState(NSCoder)
EncodeRestorableState(NSCoder, NSOperationQueue)

EncodeRestorableState(NSCoder)

[Foundation.Export("encodeRestorableStateWithCoder:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void EncodeRestorableState (Foundation.NSCoder coder);
abstract member EncodeRestorableState : Foundation.NSCoder -> unit
override this.EncodeRestorableState : Foundation.NSCoder -> unit

参数

coder
NSCoder
属性

适用于

EncodeRestorableState(NSCoder, NSOperationQueue)

[Foundation.Export("encodeRestorableStateWithCoder:backgroundQueue:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void EncodeRestorableState (Foundation.NSCoder coder, Foundation.NSOperationQueue queue);
abstract member EncodeRestorableState : Foundation.NSCoder * Foundation.NSOperationQueue -> unit
override this.EncodeRestorableState : Foundation.NSCoder * Foundation.NSOperationQueue -> unit

参数

coder
NSCoder
属性

适用于