CookieParameter.Clone Method ()


Returns a duplicate of the current CookieParameter 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 CookieParameter that is an exact duplicate of the current one.

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

.NET Framework
Available since 2.0
Return to top