IBindingList.AllowRemove Propriedade

Definição

Obtém se você pode remover itens da lista, usando Remove(Object) ou RemoveAt(Int32).

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

Valor da propriedade

true se você puder remover itens da lista; caso contrário, false.

Comentários

Se IList.IsFixedSize ou IList.IsReadOnly for true, essa propriedade retornará false.

Note

Se AllowRemove retornar falsee IList.RemoveIList.RemoveAt lançar um NotSupportedException.

Aplica-se a