CookieAttribute.ValidateInput 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指定是否应验证 Cookie 值。
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
属性值
true 如果验证 Cookie 值,则为否则,为 false. 默认值为 true。
实现
注解
有关将模型绑定与 Web 窗体配合使用的教程系列,请参阅 模型绑定和 Web 窗体。