Export (0) Print
Expand All

Cookie.Equals Method

Overrides the Equals method.

[Visual Basic]
Overrides Public Function Equals( _
   ByVal comparand As Object _
) As Boolean
[C#]
public override bool Equals(
 object comparand
);
[C++]
public: bool Equals(
 Object* comparand
);
[JScript]
public override function Equals(
   comparand : Object
) : Boolean;

Parameters

comparand
A reference to a Cookie.

Return Value

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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Cookie Class | Cookie Members | System.Net Namespace | CookieCollection | CookieContainer | CookieException

Show:
© 2015 Microsoft