BaseInfo GetLastObjectOrder Method Kentico 8.1 API Reference
Returns number which will be the last order within all the other items (according to Parent, Group and Site settings). I.e. returns largest existing order + 1.

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

Parameters

orderColumn
Type: OnlineSystem String
Name of the order column. If null, OrderColumn from TypeInfo is taken

Return Value

Type: OnlineInt32
See Also