CheckBoxField.ConvertEmptyStringToNull 属性
定义
重写 ConvertEmptyStringToNull 属性。Overrides the ConvertEmptyStringToNull property. CheckBoxField 类不支持该属性。This property is not supported by the CheckBoxField class.
public:
virtual property bool ConvertEmptyStringToNull { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public override bool ConvertEmptyStringToNull { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.ConvertEmptyStringToNull : bool with get, set
Public Overrides Property ConvertEmptyStringToNull As Boolean
属性值
在所有情况下均为 false。false in all cases. 此属性不受支持并且引发 NotSupportedException。This property is not supported and throws a NotSupportedException.
- 属性
例外
尝试读取或设置此属性的值。An attempt is made to read or set the value of this property.
注解
ConvertEmptyStringToNull属性继承自 BoundField 类,但不适用于 CheckBoxField 类。The ConvertEmptyStringToNull property is inherited from the BoundField class, but is not applicable to the CheckBoxField class. 任何访问此属性值的尝试都将引发 System.NotSupportedException 异常。Any attempt to access the value of this property will throw a System.NotSupportedException exception.