Click or drag to resize
BaseInfo.InitObjectsOrder 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: 10.0.0
Syntax
C#
protected virtual void InitObjectsOrder(
	string orderColumn,
	string nameColumn = null,
	bool ascending = true
)

Parameters

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