HttpRequestBase.Item[String] 屬性

定義

當在派生類別中被覆寫時,會從 、 CookiesFormQueryString集合中取得指定的物件ServerVariables

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

收集成員的名字。

屬性值

QueryString由 指定的 FormCookiesServerVariableskey集合成員。 若未找到指定 key 值,則 null 回傳。

例外狀況

適用於