SessionParameter.Clone Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns a duplicate of the current SessionParameter instance.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected override Parameter Clone()

Return Value

Type: System.Web.UI.WebControls.Parameter

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

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

.NET Framework
Available since 2.0
Return to top