Skip to main content
.NET 6.0+

SortingCollection Members

A collection of SortProperty objects.

Constructors

Name Description
SortingCollection() Initializes a new instance of the SortingCollection class with default settings.
SortingCollection(SortProperty[]) Initializes a new instance of the SortingCollection class and populates it with the specified elements.
SortingCollection(Object, SortProperty[]) Initializes a new instance of the SortingCollection class and populates it with the specified elements.

Properties

Name Description
Count Gets the number of elements contained within the collection.
Item[Int32] Provides indexed access to the elements in the collection.

Methods

Name Description
Add(SortingCollection) Adds the SortProperty objects from the specified collection.
Add(SortProperty) Adds the specified SortProperty object to the collection.
AddRange(SortProperty[]) Adds an array of SortProperty objects to the current collection.
Clear() Clears the collection.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetEnumerator() Returns a IEnumerator for the collection.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveAt(Int32) Removes the specified element from the collection.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
Changed For internal use.
See Also