UnvalidatedRequestValuesWrapper.Item[String] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 、 Form、 Cookies或 QueryString 集合中取得指定的物件ServerVariables,且不觸發 ASP.NET 請求驗證。
public:
virtual property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ field); };
public override string this[string field] { get; }
member this.Item(string) : string
Default Public Overrides ReadOnly Property Item(field As String) As String
參數
- field
- String
要取回物品的鑰匙。
屬性值
請求的物件,或 null 是找不到物件。
備註
Important
若使用此功能,必須手動檢查資料中是否有跨站腳本攻擊。