NSViewController.EncodeRestorableState 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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);
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);
override this.EncodeRestorableState : Foundation.NSCoder * Foundation.NSOperationQueue -> unit
參數
- coder
- NSCoder
- queue
- NSOperationQueue
- 屬性