HttpRequestBase.Item[String] Vlastnost

Definice

Při přepsání v odvozené třídě získá zadaný objekt z Cookies, Form, QueryStringnebo ServerVariables kolekce.

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

Parametry

key
String

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

Hodnota vlastnosti

Člen QueryString, Form, Cookiesnebo ServerVariables kolekce, který je určen key. Pokud zadaná key hodnota nebyla nalezena, null vrátí se.

Výjimky

Platí pro