ControlParameter.Clone 方法

定義

傳回目前 ControlParameter 執行個體的複製。Returns a duplicate of the current ControlParameter instance.

protected:
 override System::Web::UI::WebControls::Parameter ^ Clone();
protected override System.Web.UI.WebControls.Parameter Clone ();
override this.Clone : unit -> System.Web.UI.WebControls.Parameter
Protected Overrides Function Clone () As Parameter

傳回

Parameter

ControlParameter,為目前執行個體的完全複製。A ControlParameter that is an exact duplicate of the current one.

備註

方法會呼叫複製的函式 Clone ControlParameter ,以使用目前實例的值,初始化類別的新實例 ControlParameterThe Clone method calls the ControlParameter copy constructor to initialize a new instance of the ControlParameter class with the values of the current instance.

適用於

另請參閱