HttpCookieCollection.AllKeys Property
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.
Gets a string array containing all the keys (cookie names) in the cookie collection.
public:
property cli::array <System::String ^> ^ AllKeys { cli::array <System::String ^> ^ get(); };
public string[] AllKeys { get; }
member this.AllKeys : string[]
Public ReadOnly Property AllKeys As String()
Property Value
String[]
An array of cookie names.
Examples
The following example creates a string array containing the names of the cookies in a client's cookie collection.
String[] MyCookieNamesArray = Request.Cookies.AllKeys;
Dim MyCookieNamesArray() As String = Request.Cookies.AllKeys
Applies to
See also
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.