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