Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IBindingList::AllowRemove Property

 

Gets whether you can remove items from the list, using Remove or RemoveAt.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

property bool AllowRemove {
	bool get();
}

Property Value

Type: System::Boolean

true if you can remove items from the list; otherwise, false.

If IList::IsFixedSize or IList::IsReadOnly is true, this property returns false.

System_CAPS_noteNote

If AllowRemove returns false, IList::Remove and IList::RemoveAt throw a NotSupportedException.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft