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

속성 값

목록에서 항목을 제거할 수 있으면

설명

If IList.IsFixedSize or IList.IsReadOnly istrue, 이 속성은 반환 .false

메모

를 반환 falseIList.Remove 하고 IList.RemoveAt throw하는 NotSupportedException경우 AllowRemove .

적용 대상