Parameter.ConvertEmptyStringToNull 属性
定义
public:
property bool ConvertEmptyStringToNull { bool get(); void set(bool value); };
public bool ConvertEmptyStringToNull { get; set; }
member this.ConvertEmptyStringToNull : bool with get, set
Public Property ConvertEmptyStringToNull As Boolean
属性值
如果在 Parameter 绑定到的值为 Empty 时应将其转换为 true,则为 null;否则为 false。true if the value that the Parameter is bound to should be converted to null when it is Empty; otherwise, false. 默认值是 true。The default value is true.
注解
如果 ConvertEmptyStringToNull 更改了参数的属性,则 OnParameterChanged 调用方法。If the ConvertEmptyStringToNull property of the parameter is changed, the OnParameterChanged method is called.