IPageSystemDataContextRetrieverRetrieve Method (Int32, Boolean, Boolean) |
Retrieves page based on given parameters.
Namespace: Kentico.Content.Web.Mvc.InternalAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax TreeNode Retrieve(
int pageIdentifier,
bool latest,
bool selectOnlyPublished
)
Parameters
- pageIdentifier
- Type: SystemInt32
Identifier of the page. - latest
- Type: SystemBoolean
Indicates if configuration should be loaded from latest version of a page if workflow is applied. - selectOnlyPublished
- Type: SystemBoolean
If true the page is retrieved only if it is in published state, evaluated based on workflow state and publish from/to values.
Return Value
Type:
TreeNodeReturns
null if page for given
pageIdentifier does not exist.
Remarks The page result is cached if latest version not retrieved.
See Also