The requested page is not available for the requested platform. You are viewing the content for Default platform.

IObjectSpace.GetCollectionSorting(Object) Method

Returns the sort settings for a particular collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

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

Parameters

Name Type Description
collection Object

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

Returns

Type Description
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 (e.g. XPCollection for an XPObjectSpace or EFCollection for an EFObjectSpace). When implementing this property, consider the case when a server collection is passed as the collection parameter.

See Also