Click or drag to resize
BaseInfoGeneralizedInfoWrapperSetObjectOrder 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: 13.0.131
Syntax
C#
public void SetObjectOrder(
	int targetOrder,
	bool relativeOrder = false,
	string orderColumn = null
)

Parameters

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