ListSortDescriptionCollection Class
Represents a collection of ListSortDescription objects.
Assembly: System (in System.dll)
The ListSortDescriptionCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | 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. |
| Name | Description | |
|---|---|---|
![]() ![]() | Count | Gets the number of items in the collection. |
![]() ![]() | Item | Gets or sets the specified ListSortDescription. |
| Name | Description | |
|---|---|---|
![]() ![]() | Contains | Determines if the ListSortDescriptionCollection contains a specific value. |
![]() ![]() | CopyTo | Copies the contents of the collection to the specified array, starting at the specified destination array index. |
![]() ![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | IndexOf | Returns the index of the specified item in the collection. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
![]() | AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
![]() ![]() | Cast<TResult> | Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
![]() ![]() | OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | 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 System.Collections.IEnumerator that can be used to iterate through the collection. |
![]() ![]() ![]() | IList.Add | Adds an item to the collection. |
![]() ![]() ![]() | IList.Clear | Removes all items from the collection. |
![]() ![]() ![]() | IList.Insert | 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 | Gets the specified ListSortDescription. |
![]() ![]() ![]() | IList.Remove | Removes the first occurrence of an item from the collection. |
![]() ![]() ![]() | IList.RemoveAt | Removes an item from the collection at a specified index. |
The ListSortDescriptionCollection class is used by the IBindingListView interface.
The ListSortDescriptionCollection is read-only once constructed.
Note |
|---|
The HostProtectionAttribute attribute applied to this type or member has the following Resources property value: SharedState. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

