IBindingList.AllowRemove 属性

定义

获取是否可以使用 Remove(Object)RemoveAt(Int32) 从列表中移除项。Gets whether you can remove items from the list, using Remove(Object) or RemoveAt(Int32).

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

属性值

如果可以从列表中移除项,则为 true;否则为 falsetrue if you can remove items from the list; otherwise, false.

注解

如果IList.IsFixedSizeIList.IsReadOnly false为,则true此属性返回。If IList.IsFixedSize or IList.IsReadOnly is true, this property returns false.

适用于