UnvalidatedRequestValuesWrapper.Item[String] 屬性

定義

從 、 FormCookiesQueryString 集合中取得指定的物件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

若使用此功能,必須手動檢查資料中是否有跨站腳本攻擊。

適用於