Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Clone Method
Collapse the table of content
Expand the table of content

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft