ContentTransformationFunctionsIsInCategories Method |
Returns true if document is in one/all of selected categories.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
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