Cookie::Equals Method (Object^)

 

Overrides the Object::Equals method.

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

public:
virtual bool Equals(
	Object^ comparand
) override

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: