Back to Devexpress

IObjectSpace.GetCollectionSorting(Object) Method

expressappframework-devexpress-dot-expressapp-dot-iobjectspace-dot-getcollectionsorting-x28-system-dot-object-x29.md

latest2.1 KB
Original Source

IObjectSpace.GetCollectionSorting(Object) Method

Returns the sort settings for a particular collection.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
IList<SortProperty> GetCollectionSorting(
    object collection
)
vb
Function GetCollectionSorting(
    collection As Object
) As IList(Of SortProperty)

Parameters

NameTypeDescription
collectionObject

An Object that is the collection whose sort settings are requested.

|

Returns

TypeDescription
IList<SortProperty>

A list of SortProperty objects specifying the sort order for the collection.

|

Remarks

This property is intended for internal use. It is supposed to return the sort settings of the specified collection, if this collection is of the type with which the current Object Space can operate. When implementing this property, consider the case when a server collection is passed as the collection parameter.

See Also

EFCoreObjectSpace.GetCollectionSorting(Object)

XPObjectSpace.GetCollectionSorting(Object)

IObjectSpace Interface

IObjectSpace Members

DevExpress.ExpressApp Namespace