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

適用於