Click or drag to resize
CategoryInfoProviderGetCategoryDocumentsWhereCondition Method
Returns where condition usable for filtering documents by category.

Namespace: CMS.Taxonomy
Assembly: CMS.Taxonomy (in CMS.Taxonomy.dll) Version: 8.2.23
Syntax
C#
public static string GetCategoryDocumentsWhereCondition(
	string categoryIDPath,
	bool onlyEnabled
)

Parameters

categoryIDPath
Type: SystemString
Category ID path.
onlyEnabled
Type: SystemBoolean
Indicates if only documents belonging to enabled (sub)categories are to be filtered out.

Return Value

Type: String
See Also