UIView.EncodeRestorableState(NSCoder) メソッド

定義

アプリケーション開発者は、このメソッドをオーバーライドして、ビューに関連付けられている状態を格納できます。

[Foundation.Export("encodeRestorableStateWithCoder:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, 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

NSCoder状態をエンコードする 。

属性

適用対象

こちらもご覧ください

  • <xref:UIKit.UIView.DecodeRestorableState>
  • <xref:UIKit.UIApplicationDelegate.ShouldRestoreApplicationState>
  • <xref:UIKit.UIApplicationDelegate.ShouldSaveApplicationState>