CategoryInfoProviderGetCategoriesDocumentsWhereCondition Method |
Returns where condition usable for filtering documents by categories.
Namespace: CMS.TaxonomyAssembly: CMS.Taxonomy (in CMS.Taxonomy.dll) Version: 12.0.0
Syntaxpublic 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