Equals Method
Collapse the table of content
Expand the table of content

Cookie.Equals Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines if two Cookie objects are equal.

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

'Declaration
Public Overrides Function Equals ( _
	comparand As Object _
) As Boolean

Parameters

comparand
Type: System.Object
The Cookie to compare to this Cookie for equality.

Return Value

Type: System.Boolean
true if the cookie objects are equal; otherwise, false.

Two Cookie instances are equal if their Name, Value, Path, Domain, and Version properties are equal. The Name and Domain string comparisons are case-insensitive.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft