Class RemoveOnlyCollection<T>
Provides the base class for a generic collection that only allows removing items.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public class RemoveOnlyCollection<T> : Collection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
T
|
Constructors
RemoveOnlyCollection(IList<T>)
Initializes a new instance of the RemoveOnlyCollection<T> class as a wrapper for the specified list.
Declaration
public RemoveOnlyCollection(IList<T> list)
Parameters
System.Collections.Generic.IList<T>
list
The list that is wrapped by the new collection. |
Methods
InsertItem(Int32, T)
Declaration
protected override void InsertItem(int index, T item)
Parameters
System.Int32
index
|
T
item
|
Overrides
Remarks
This implementation always throws NotSupportedException.
SetItem(Int32, T)
Declaration
protected override void SetItem(int index, T item)
Parameters
System.Int32
index
|
T
item
|
Overrides
Remarks
This implementation always throws NotSupportedException.