共用方式為


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

適用於