IBindingList.AllowRemove プロパティ

定義

Remove(Object)またはRemoveAt(Int32)を使用して、リストから項目を削除できるかどうかを取得します。

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

プロパティ値

true リストから項目を削除できる場合。それ以外の場合は false

注釈

IList.IsFixedSizeまたはIList.IsReadOnlytrue場合、このプロパティはfalseを返します。

Note

AllowRemovefalseを返す場合は、IList.Removeし、NotSupportedExceptionをスローIList.RemoveAt

適用対象