System.Web.UI.WebControls.ControlParameter.Clone Method

Returns a duplicate of the current System.Web.UI.WebControls.ControlParameter instance.

Syntax

protected override Parameter Clone ()

Returns

A System.Web.UI.WebControls.ControlParameter that is an exact duplicate of the current one.

Remarks

The ControlParameter.Clone method calls the ControlParameter.#ctor(ControlParameter) copy constructor to initialize a new instance of the System.Web.UI.WebControls.ControlParameter class with the values of the current instance.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0