ContentTransformationFunctionsHasTags Method |
Returns true if document has any/all of the specified tags.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntaxpublic static bool HasTags(
Object document,
string tags,
bool allTags
)
Parameters
- document
- Type: SystemObject
Document - tags
- Type: SystemString
Semicolon separated tags - allTags
- Type: SystemBoolean
Indicates whether all tags must be present or only one of them
Return Value
Type:
Boolean
See Also