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.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax 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