System.Web.UI.WebControls.SessionParameter.Clone Method

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

Syntax

protected override Parameter Clone ()

Returns

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

Remarks

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