ContentTransformationFunctionsIsInCategories Method |
Returns true if document is in one/all of selected categories.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax public static bool IsInCategories(
Object document,
string categories,
bool allCategories
)
Parameters
- document
- Type: SystemObject
Document to check - categories
- Type: SystemString
Category names separated with a semicolon - allCategories
- Type: SystemBoolean
If true, document must be in all of the selected categories.
Return Value
Type:
BooleanSee Also