UnvalidatedRequestValuesBase::Item Property (String^)

.NET Framework (current version)
 

When overridden in a derived class, gets the specified object from the Form, Cookies, QueryString, or ServerVariables collection, without triggering ASP.NET request validation.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
property String^ default[
	String^ field
] {
	virtual String^ get(String^ field);
}

Parameters

field
Type: System::String^

The key of the object to retrieve.

Property Value

Type: System::String^

The object specified by the field parameter.

Exception Condition
NotImplementedException

The property is not implemented.

Notes to Inheritors:

If you override this property in a derived class, you must manually check the data for potential cross-site scripting attacks.

.NET Framework
Available since 4.5
Return to top
Show: