BaseInfo SetObjectOrder Method Kentico 8.1 API Reference
Moves the object to the specified order (if OrderColumn is specified). The move is done within the object's parent and site (if defined).

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

targetOrder
Type: OnlineSystem Int32
Desired order of the object
relativeOrder
Type: OnlineSystem Boolean
If true, the targetOrder param is taken as a relative order from current order position
orderColumn
Type: OnlineSystem String
Name of the order column. If null, OrderColumn from TypeInfo is taken
See Also