Share via


CookieHeaderValue.Clone Method

Creates a shallow copy of the cookie value.

Namespace:  System.Net.Http.Headers
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
Public Function Clone As Object
'Usage
Dim instance As CookieHeaderValue 
Dim returnValue As Object 

returnValue = instance.Clone()
public Object Clone()
public:
virtual Object^ Clone() sealed
abstract Clone : unit -> Object  
override Clone : unit -> Object
public final function Clone() : Object

Return Value

Type: System.Object
A shallow copy of the cookie value.

Implements

ICloneable.Clone()

See Also

Reference

CookieHeaderValue Class

System.Net.Http.Headers Namespace