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.IsReadOnly 가 이면 IList.IsFixedSize 이 속성은 true를 반환합니다false.

참고

가 를 반환하고 IList.RemoveAt 을 throw하는 NotSupportedException경우 AllowRemovefalseIList.Remove

적용 대상