QueryStringParameter.ValidateInput Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets whether the value of the query string parameter is being validated or not.
public:
property bool ValidateInput { bool get(); void set(bool value); };
public bool ValidateInput { get; set; }
member this.ValidateInput : bool with get, set
Public Property ValidateInput As Boolean
Property Value
true
if the value of the query parameter is being validated; otherwise, false
.
Remarks
If the page property SkipFormActionValidation is set to true
, and the ValidateInput property is set to false
, the query string parameter will not be validated. However, if the page property SkipFormActionValidation is set to true
, and the ValidateInput property is set to true
, the query string parameter will be validated. If the page property SkipFormActionValidation is set to false
, the query string parameter will be validated regardless of whether the ValidateInput property is set to true
or false
.