BindingList<T>.IBindingList.AllowNew 屬性

定義

取得值,指出是否可以使用 AddNew() 方法,將新項目加入至清單中。

property bool System::ComponentModel::IBindingList::AllowNew { bool get(); };
bool System.ComponentModel.IBindingList.AllowNew { get; }
member this.System.ComponentModel.IBindingList.AllowNew : bool
 ReadOnly Property AllowNew As Boolean Implements IBindingList.AllowNew

屬性值

如果您可以使用 AddNew() 方法將項目加入至清單,則為 true,否則為 false。 預設取決於清單中所含的基礎型別。

實作

備註

這個成員是明確介面成員實作, 只有在 BindingList<T> 執行個體轉換成 IBindingList 介面時,才能使用這個成員。

適用於