Gets the index of the specified sort-able item in the collection. Syntax Parameters sortableItem The sort-able item to find in the collection. Return Value The 0-based index of the specified sort-able item in the collection or -1 if the item is not in the collection. Exceptions Exception Description System.Argumen...
Gets the index of the specified sort-able item in the collection. Overload List
Inserts a sort condition into the collection. Syntax Parameters index The 0-based index where the sort condition should be inserted.sortableItem The sort-able item over which the sort condition will be applied.sortCondition The sort condition to apply to the sort-able item. Exceptions Exception Description System....
Gets or sets the pair of item and sort condition at the specified index. Syntax Parameters index The index at which to get the pair of item and sort condition. Exceptions Exception Description System.ArgumentNullException The Key or Value of the assigned value is null. System.InvalidOperationException The Key of t...
Gets or sets the sort condition for the specified sort-able item. Syntax Parameters sortableItem The sort-able item for which to get or set the sort condition. Exceptions Exception Description System.ArgumentNullException sortableItem is null. System.InvalidOperationException The sort-able item is not already in t...
Gets or sets the pair of item and sort condition at the specified index. Overload List Exceptions Exception Description System.ArgumentNullException The Key or Value of the assigned value is null. System.InvalidOperationException The Key of the assigned value already in the collection at a different index.
Removes a sort condition from the collection. Syntax Parameters sortCondition The sort condition to remove from the collection. Return Value True if the sort condition was found and removed; False otherwise. Exceptions Exception Description System.ArgumentNullException sortCondition is null.
Removes a sort-able item from the collection. Syntax Parameters sortableItem The sort-able item to remove from the collection. Return Value True if the sort-able item was found and removed; False otherwise. Exceptions Exception Description System.ArgumentNullException sortableItem is null.
Removes a sort-able item from the collection. Overload List
Removes the sort condition at the specified index. Syntax Parameters index The 0-based index of the sort condition to remove. Exceptions Exception Description System.ArgumentOutOfRangeException index is less than 0 or greater than or equal to Count.