IBindingList.AllowNew IBindingList.AllowNew IBindingList.AllowNew IBindingList.AllowNew Property

定义

获取是否可以使用 AddNew() 向列表中添加项。Gets whether you can add items to the list using AddNew().

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

属性值

如果可以使用 AddNew() 向列表中添加项,则为 true;否则为 falsetrue if you can add items to the list using AddNew(); otherwise, false.

注解

如果IList.IsFixedSizeIList.IsReadOnlytrue,此属性返回falseIf IList.IsFixedSize or IList.IsReadOnly is true, this property returns false.

适用于