Edit

Share via


Cookie.Equals(Object) Method

Definition

Overrides the Equals(Object) method.

public:
 override bool Equals(System::Object ^ comparand);
public override bool Equals (object comparand);
public override bool Equals (object? comparand);
override this.Equals : obj -> bool
Public Overrides Function Equals (comparand As Object) As Boolean

Parameters

comparand
Object

A reference to a Cookie.

Returns

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.

Applies to

See also