Edit

Share via


CookieParameter.Clone Method

Definition

Returns a duplicate of the current CookieParameter instance.

protected:
 override System::Web::UI::WebControls::Parameter ^ Clone();
protected override System.Web.UI.WebControls.Parameter Clone ();
override this.Clone : unit -> System.Web.UI.WebControls.Parameter
Protected Overrides Function Clone () As Parameter

Returns

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

Remarks

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

Applies to

See also