Edit

Share via


BindingList<T>.IBindingList.AllowNew Property

Definition

Gets a value indicating whether new items can be added to the list using the AddNew() method.

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

Property Value

true if you can add items to the list with the AddNew() method; otherwise, false. The default depends on the underlying type contained in the list.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the BindingList<T> instance is cast to an IBindingList interface.

Applies to