SortDescriptionCollection Class
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.
Represents a collection of SortDescription objects.
public ref class SortDescriptionCollection : System::Collections::ObjectModel::Collection<System::ComponentModel::SortDescription>, System::Collections::Specialized::INotifyCollectionChanged
public class SortDescriptionCollection : System.Collections.ObjectModel.Collection<System.ComponentModel.SortDescription>, System.Collections.Specialized.INotifyCollectionChanged
type SortDescriptionCollection = class
inherit Collection<SortDescription>
interface INotifyCollectionChanged
Public Class SortDescriptionCollection
Inherits Collection(Of SortDescription)
Implements INotifyCollectionChanged
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| SortDescriptionCollection() |
Initializes a new instance of the SortDescriptionCollection class. |
Fields
| Name | Description |
|---|---|
| Empty |
Gets an empty and non-modifiable instance of SortDescriptionCollection. |
Methods
| Name | Description |
|---|---|
| ClearItems() |
Removes all items from the collection. |
| InsertItem(Int32, SortDescription) |
Inserts an item into the collection at the specified index. |
| RemoveItem(Int32) |
Removes the item at the specified index in the collection. |
| SetItem(Int32, SortDescription) |
Replaces the element at the specified index. |
Events
| Name | Description |
|---|---|
| CollectionChanged |
Occurs when an item is added or removed. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| INotifyCollectionChanged.CollectionChanged |
Occurs when an item is added or removed. |