HttpRequestBase.Item[String] 属性

定义

在派生类中替代时,从 CookiesFormQueryStringServerVariables 集合获取指定的对象。

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

参数

key
String

要获取的集合成员的名称。

属性值

String

QueryString 指定的 FormCookiesServerVariableskey 集合成员。 如果未找到指定的 key 值,则返回 null

例外

适用于