TypePresenter.AllowNull 属性

定义

获取或设置一个值,该值指示字符串 (null) 是否将显示在类型演示器中,这样就可以为类型选择 null。

public:
 property bool AllowNull { bool get(); void set(bool value); };
public bool AllowNull { get; set; }
member this.AllowNull : bool with get, set
Public Property AllowNull As Boolean

属性值

true 如果属性可以是 null,则为 ;否则为 false

适用于