語言

IBindingList.AllowNew 屬性

定義

判斷你是否可以用 來將項目加入清單 AddNew()。

public:
 property bool AllowNew { bool get(); };
public bool AllowNew { get; }
member this.AllowNew : bool
Public ReadOnly Property AllowNew As Boolean

屬性值

true 如果你能用 ;() AddNew()將項目加入清單,否則, false。

備註

若 IList.IsFixedSize 或 IList.IsReadOnly 為 true,則該性質返回 false。

適用於