Click or drag to resize
BaseInfoInitObjectsOrder Method
Inits the proper order of the sibling objects so the order column is consistent.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
protected virtual void InitObjectsOrder(
	string orderColumn,
	string nameColumn = null,
	bool ascending = true
)

Parameters

orderColumn
Type: SystemString
Name of the column that is used for storing the object's order. If null, OrderColumn is taken from TypeInfo.
nameColumn (Optional)
Type: SystemString
>Name of the column by which the order is to be set. DisplayNameColumn is used if not given.
ascending (Optional)
Type: SystemBoolean
Indicates whether the order is ascending or descending (ascending order is used by default).
See Also