ControlParameter.Clone Method

Definition

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

Returns

A ControlParameter that is an exact duplicate of the current one.

Remarks

The Clone method calls the ControlParameter copy constructor to initialize a new instance of the ControlParameter class with the values of the current instance.

Applies to

See also