Click or drag to resize
BaseInfoSetObjectOrder Method
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.2.23
Syntax
C#
protected void SetObjectOrder(
	int targetOrder,
	bool relativeOrder,
	string orderColumn
)

Parameters

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