GetPageTreeFromPage(Guid,Guid,PublishState) Method
KalikoCMS Namespace > PageFactory Class > GetPageTreeFromPage Method : GetPageTreeFromPage(Guid,Guid,PublishState) Method |
Get a collection with the page tree from a specified root down to a specified lead. Useful for following a specific branch of the tree in - for instance - a menu tree between the root and the active page.
Syntax
'Declaration
Public Overloads Shared Function GetPageTreeFromPage( _ ByVal rootPageId As Guid, _ ByVal leafPageId As Guid, _ ByVal pageState As PublishState _ ) As PageCollection
public static PageCollection GetPageTreeFromPage( Guid rootPageId, Guid leafPageId, PublishState pageState )
Parameters
- rootPageId
- leafPageId
- pageState
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2