ObservableRangeCollection<T>.RemoveRange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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