Share via


ObservableRangeCollection<T>.RemoveRange Method

Definition

Removes the first occurence of each item in the specified collection from ObservableCollection(Of T). NOTE: with notificationMode = Remove, removed items starting index is not set because items are not guaranteed to be consecutive.

public void RemoveRange(System.Collections.Generic.IEnumerable<T> collection, System.Collections.Specialized.NotifyCollectionChangedAction notificationMode = System.Collections.Specialized.NotifyCollectionChangedAction.Reset);

Parameters

collection
System.Collections.Generic.IEnumerable<T>
notificationMode
System.Collections.Specialized.NotifyCollectionChangedAction

Applies to