System.Web.UI.WebControls.FormParameter.Clone Method

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

Syntax

protected override Parameter Clone ()

Returns

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

Remarks

The FormParameter.Clone method calls the FormParameter.#ctor(FormParameter) copy constructor to initialize a new instance of the System.Web.UI.WebControls.FormParameter 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