IBindingList.AllowRemove Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Property Value
true
if you can remove items from the list; otherwise, false
.
Remarks
If IList.IsFixedSize or IList.IsReadOnly is true
, this property returns false
.
Note
If AllowRemove returns false
, IList.Remove and IList.RemoveAt throw a NotSupportedException.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.