Click or drag to resize
CategoryInfoProviderGetCategoriesDocumentsWhereCondition Method
Returns where condition usable for filtering documents by categories.

Namespace: CMS.Taxonomy
Assembly: CMS.Taxonomy (in CMS.Taxonomy.dll) Version: 10.0.0
Syntax
C#
public static IWhereCondition GetCategoriesDocumentsWhereCondition(
	IEnumerable<string> categoriesIDPaths,
	bool onlyEnabled
)

Parameters

categoriesIDPaths
Type: System.Collections.GenericIEnumerableString
Categories ID paths.
onlyEnabled
Type: SystemBoolean
Indicates if only documents belonging to enabled (sub)categories are to be filtered out.

Return Value

Type: IWhereCondition
See Also