SortDescription Structure

 

Defines the direction and the property name to be used as the criteria for sorting a collection.

Namespace:   System.ComponentModel
Assembly:  WindowsBase (in WindowsBase.dll)

Public Structure SortDescription

NameDescription
System_CAPS_pubmethodSortDescription(String, ListSortDirection)

Initializes a new instance of the SortDescription structure.

NameDescription
System_CAPS_pubpropertyDirection

Gets or sets a value that indicates whether to sort in ascending or descending order.

System_CAPS_pubpropertyIsSealed

Gets a value that indicates whether this object is in an immutable state.

System_CAPS_pubpropertyPropertyName

Gets or sets the property name being used as the sorting criteria.

NameDescription
System_CAPS_pubmethodEquals(Object)

Compares the specified instance and the current instance of SortDescription for value equality.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance of SortDescription.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(SortDescription, SortDescription)

Compares two SortDescription objects for value equality.

System_CAPS_puboperatorSystem_CAPS_staticInequality(SortDescription, SortDescription)

Compares two SortDescription objects for value inequality.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: