Version

InsertRange Method

Inserts a range of sort conditions into the collection.
Syntax
public void InsertRange( 
   int index,
   IEnumerable<KeyValuePair<T,SortCondition>> entries
)

Parameters

index
The 0-based index where the sort condition should be inserted.
entries
An enumberable of entries which contain the sort-able item over which the sort condition will be applied and the sort condition to apply to the sort-able item.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionindex is less than 0 or greater than Count.
System.ArgumentNullExceptionentries is null.
System.ArgumentNullException If any sort condition is null.
System.ArgumentException If any sortable item is already has a sort condition applied to it in the collection.
System.InvalidOperationException There are already 64 sort conditions in the collection.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also