HttpRequestBase.Item[String] 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.
When overridden in a derived class, gets the specified object from the Cookies, Form, QueryString, or ServerVariables collections.
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
Parameters
- key
- String
The name of the collection member to get.
Property Value
The QueryString, Form, Cookies, or ServerVariables collection member that is specified by key
. If the specified key
value is not found, null
is returned.
Exceptions
Always.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.