GetChildrenForPage(Guid,PublishState) Method
KalikoCMS Namespace > PageFactory Class > GetChildrenForPage Method : GetChildrenForPage(Guid,PublishState) Method |
Gets all children under a particular page that matches the publish state given. By default publish state is PublishState.Published.
Syntax
'Declaration
Public Overloads Shared Function GetChildrenForPage( _ ByVal pageId As Guid, _ Optional ByVal pageState As PublishState _ ) As PageCollection
public static PageCollection GetChildrenForPage( Guid pageId, PublishState pageState )
Parameters
- pageId
- 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