System.Net.Cookie.Equals Method

Overrides the object.Equals(object) method.

Syntax

public override bool Equals (object comparand)

Parameters

comparand
A reference to a System.Net.Cookie.

Returns

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

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0