Menu.LoadControlState(Object) 方法

定義

載入 Menu 控制項中需要保存的屬性狀態。Loads the state of the properties in the Menu control that need to be persisted.

protected public:
 override void LoadControlState(System::Object ^ savedState);
protected internal override void LoadControlState (object savedState);
override this.LoadControlState : obj -> unit
Protected Friend Overrides Sub LoadControlState (savedState As Object)

參數

savedState
Object

Object,代表所要還原的控制項狀態。An Object that represents the control state to be restored.

備註

注意

這個方法主要由控制項開發人員用來擴充 Menu 控制項。This method is used primarily by control developers to extend the Menu control.

適用於