Click or drag to resize

ITaxonomyGetCategoryPages Method

Get all the pages associated with a given category.

Namespace:  Ingeniux.Runtime.Taxonomy
Assembly:  IGXRuntimeAPI (in IGXRuntimeAPI.dll) Version: 10.6.308
Syntax
IEnumerable<ICMSPageEntry> GetCategoryPages(
	ICategoryDefinition category,
	ICMSNavigationBuildingSession navigationBuildSession,
	bool isBackground,
	IEnumerable<string> filterSchemaNames = null,
	IEnumerable<string> filterAncestorPageIds = null,
	bool useCheckedOut = false
)

Parameters

category
Type: Ingeniux.Runtime.TaxonomyICategoryDefinition
Category to get associated pages for
navigationBuildSession
Type: Ingeniux.Runtime.NavigationBuilderICMSNavigationBuildingSession
The navigation session to build the page list on
isBackground
Type: SystemBoolean
Whether this is a background task
filterSchemaNames (Optional)
Type: System.Collections.GenericIEnumerableString
The optional list of schema names to filter included pages by. If provided, only pages based on one of these schemas will be included in the resulting navigation structure.
filterAncestorPageIds (Optional)
Type: System.Collections.GenericIEnumerableString
The optional list of ancestor page IDs to filter included pages by. If provided, only pages under one of these ancestor pages will be included in the resulting navigation structure.
useCheckedOut (Optional)
Type: SystemBoolean
Whether to use checked out pages. Default is false.

Return Value

Type: IEnumerableICMSPageEntry
The collection of navigation representatives assigned to the specified category
Remarks
Pages will be returned in link node format.
See Also