Article: AN0001672Updated:
This object is list of objects ContentPage.
Object properties
All the functions relate to list of objects, over whicg the function is called.
| Name |
Description |
| ContentPage GetByCode(string code) |
Function returns the page for the given code. |
| ContentPage this[int index] |
Function returns the page according to the collection index. |
| ContentPage this[string code] |
Function returns the page according to the code. |
| ContentPageList GetByModelId(int? modelId) |
Function returns list of pages for the given model. |
| void SortByModelPage() |
Method orders the collection according to the model name. |
| void SortByTitle() |
Method orders the collection according to the name. |
If you do not define model for the function GetByModelId, pages without model will be returned.