IBindingList.AllowRemove Propiedad

Definición

Obtiene si puede quitar elementos de la lista mediante Remove(Object) o RemoveAt(Int32).

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

Valor de propiedad

true si puede quitar elementos de la lista; de lo contrario, false.

Comentarios

Si IList.IsFixedSize o IList.IsReadOnly es true, esta propiedad devuelve false.

Note

Si AllowRemove devuelve falseIList.Remove y IList.RemoveAt produce una NotSupportedExceptionexcepción .

Se aplica a