Export (0) Print
Expand All

HttpCookieCollection.Get Method

Returns an individual HttpCookie object from the cookie collection. This property is overloaded to allow retrieval of cookies by either name or numerical index.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Get(Int32) Returns the HttpCookie item with the specified index from the cookie collection.
Public method Get(String) Returns the cookie with the specified name from the cookie collection.
© 2015 Microsoft