CookieCollection.Contains(Cookie) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified cookie is in the CookieCollection.
public:
virtual bool Contains(System::Net::Cookie ^ cookie);
public bool Contains (System.Net.Cookie cookie);
abstract member Contains : System.Net.Cookie -> bool
override this.Contains : System.Net.Cookie -> bool
Public Function Contains (cookie As Cookie) As Boolean
Parameters
- cookie
- Cookie
The cookie to locate in the CookieCollection.
Returns
true
if the specified cookie is found in the CookieCollection; otherwise, false
.
Implements
Remarks
The cookie
is determined to be part of the collection if Name, Domain and Path match.
The comparison for Name and Domain is case-insensitive.
The comparison for Path is case-sensitive.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.