Click or drag to resize
ContentTransformationFunctionsHasTags Method
Returns true if document has any/all of the specified tags.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public 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