Control.SetDesignModeState(IDictionary) Control.SetDesignModeState(IDictionary) Control.SetDesignModeState(IDictionary) Control.SetDesignModeState(IDictionary) Method

定義

設定控制項的設計階段資料。Sets design-time data for a control.

protected:
 virtual void SetDesignModeState(System::Collections::IDictionary ^ data);
protected virtual void SetDesignModeState (System.Collections.IDictionary data);
abstract member SetDesignModeState : System.Collections.IDictionary -> unit
override this.SetDesignModeState : System.Collections.IDictionary -> unit
Protected Overridable Sub SetDesignModeState (data As IDictionary)

參數

data
IDictionary IDictionary IDictionary IDictionary

IDictionary,包含控制項的設計階段資料。An IDictionary containing the design-time data for the control.

實作

備註

SetDesignModeState方法會儲存控制項的設計階段資料。The SetDesignModeState method saves design-time data for a control.

給繼承者的注意事項

您必須覆寫這個方法,以儲存您的控制項所需的設計階段資料。You must override this method to save the design-time data your control requires.

適用於