UnvalidatedRequestValues.Item[String] Propriedade

Definição

Obtém o objeto especificado da coleção Form, Cookies, QueryString ou ServerVariables, sem acionar a validação de solicitação do ASP.NET.Gets the specified object from the Form, Cookies, QueryString, or ServerVariables collection, without triggering ASP.NET request validation.

public:
 property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ field); };
public string this[string field] { get; }
member this.Item(string) : string
Default Public ReadOnly Property Item(field As String) As String

Parâmetros

field
String

A chave do objeto a ser recuperado.The key of the object to retrieve.

Valor da propriedade

String

O objeto solicitado ou null se o objeto não for encontrado.The requested object, or null if the object is not found.

Comentários

Importante

Se você usar essa propriedade, deverá verificar manualmente os dados para possíveis ataques de script entre sites.If you use this property, you must manually check the data for potential cross-site scripting attacks.

Aplica-se a