PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections.​Advices Namespace / ICollection­Dynamic­Advice(T) Interface / ICollection­Dynamic­Advice(T) Methods / ICollection­Dynamic­Advice(T).​Remove­Item Method

ICollectionDynamicAdvice<T>.RemoveItem Method

Removes an item from the advised collection.

Namespace:  PostSharp.Patterns.Collections.Advices
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
void RemoveItem(
	int index,
	T item,
	AdviceEnumerator<ICollectionDynamicAdvice<T>> nextAdvices
)

Parameters

index
Type: System.Int32
item
Type: T
nextAdvices
Type: PostSharp.Patterns.DynamicAdvising.AdviceEnumerator<ICollectionDynamicAdvice<T>>
See Also