.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IObjectSpace.GetCollectionSorting(Object) Method

Returns the sort settings for a particular collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

IList<SortProperty> GetCollectionSorting(
    object collection
)
Function GetCollectionSorting(
    collection As Object
) As IList(Of SortProperty)
IList<SortProperty> GetCollectionSorting(
    object collection
)
Function GetCollectionSorting(
    collection As Object
) As IList(Of SortProperty)
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.

Parameters

Name Type Description
collection Object

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

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.

Returns

Type Description
IList<SortProperty>

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

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