Export (0) Print
Expand All

Cookie.Equals Method

Overrides the Object.Equals method.

Namespace:  System.Net
Assembly:  System (in System.dll)

public override bool Equals(
	Object comparand
)

Parameters

comparand
Type: System.Object

A reference to a Cookie.

Return Value

Type: System.Boolean
Returns true if the Cookie is equal to comparand. Two Cookie instances are equal if their Name, Value, Path, Domain, and Version properties are equal. Name and Domain string comparisons are case-insensitive.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft