Export (0) Print
Expand All

Cookie.Equals Method

Overrides the Equals method.

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


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.


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

© 2015 Microsoft