Click or drag to resize
DocumentTagInfoProviderRemoveTags Method (Int32, Boolean)
Removes all the tags from the specified document.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static void RemoveTags(
	int documentId,
	bool deleteNotUsedTags = true
)

Parameters

documentId
Type: SystemInt32
ID of the document tags are removed from
deleteNotUsedTags (Optional)
Type: SystemBoolean
True (default) - All tags which are not assigned to any other document are deleted, False - Tags always stay in the system even they are not assigned to any other document.
See Also