PostSharpAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Keyed­Collection<TKey, TItem>Remove­Items
Open sandboxFocus

AdvisableKeyedCollection<TKey, TItem>.RemoveItems Method

RemoveItems(int, int)

Removes the specified number of elements starting at the specified index of the underlying collection.

Declaration
protected override TItem[] RemoveItems(int index, int count)
Parameters
Type Name Description
int index

The zero-based index of the element to remove.

int count

The number of the elements to remove.

Returns
Type Description
TItem[]

The list of elements that were removed.

Overrides
AdvisableCollection<TItem>.RemoveItems(int, int)
Remarks

note

This method does not cause the advices to be executed. It should be invoked only from inside the scope of the ExecuteWithAdvices method.