ListSortDescriptionCollection
Class
Definition
Represents a collection of ListSortDescription objects.
public class ListSortDescriptionCollection : System.Collections.IList
- Inheritance
-
ListSortDescriptionCollection
- Implements
Inherited Members
System.Object
Remarks
The ListSortDescriptionCollection class is used by the IBindingListView interface.
The ListSortDescriptionCollection is read-only once constructed.
Constructors
| ListSortDescriptionCollection() |
Initializes a new instance of the ListSortDescriptionCollection class. |
| ListSortDescriptionCollection(ListSortDescription[]) |
Initializes a new instance of the ListSortDescriptionCollection class with the specified array of ListSortDescription objects. |
Properties
| Count |
Gets the number of items in the collection. |
| Item[Int32] |
Gets or sets the specified ListSortDescription. |
Methods
| Contains(Object) |
Determines if the ListSortDescriptionCollection contains a specific value. |
| CopyTo(Array, Int32) |
Copies the contents of the collection to the specified array, starting at the specified destination array index. |
| IndexOf(Object) |
Returns the index of the specified item in the collection. |
Explicit Interface Implementations
| ICollection.IsSynchronized |
Gets a value indicating whether access to the collection is thread safe. |
| ICollection.SyncRoot |
Gets the current instance that can be used to synchronize access to the collection. |
| IEnumerable.GetEnumerator() |
Gets a IEnumerator that can be used to iterate through the collection. |
| IList.Add(Object) |
Adds an item to the collection. |
| IList.Clear() |
Removes all items from the collection. |
| IList.Insert(Int32, Object) |
Inserts an item into the collection at a specified index. |
| IList.IsFixedSize |
Gets a value indicating whether the collection has a fixed size. |
| IList.IsReadOnly |
Gets a value indicating whether the collection is read-only. |
| IList.Item[Int32] |
Gets the specified ListSortDescription. |
| IList.Remove(Object) |
Removes the first occurrence of an item from the collection. |
| IList.RemoveAt(Int32) |
Removes an item from the collection at a specified index. |
Extension Methods
| Cast<TResult>(IEnumerable) | |
| OfType<TResult>(IEnumerable) | |
| AsParallel(IEnumerable) | |
| AsQueryable(IEnumerable) |