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