Sdílet prostřednictvím


HttpRequestWrapper.Item[String] Vlastnost

Definice

Získá zadaný objekt z kolekcí Cookies, Form, QueryStringnebo ServerVariables .

public:
 virtual property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ key); };
public override string this[string key] { get; }
member this.Item(string) : string
Default Public Overrides ReadOnly Property Item(key As String) As String

Parametry

key
String

Název člena kolekce, který chcete získat.

Hodnota vlastnosti

Člen QueryStringkolekce , Form, Cookiesnebo ServerVariables zadaný v nástroji key. Pokud se zadaná key hodnota nenajde, null vrátí se.

Platí pro