ObjectGears Help

           
Forum   ObjectGears (Version: 1.6.0.0)

OG data type - ContentPageList

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.

This website is using cookies files to provide services and analyse visits. You agree with that by using this website.     Further information