HttpRequestWrapper.Item[String] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 、 Cookies、 Form或 QueryString 集合中取得指定的物件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
參數
- key
- String
收集成員的名字。
屬性值
QueryString由 指定的 Form、 Cookies、 ServerVariables或key集合成員。 若未找到指定 key 值,則 null 回傳。