Click or drag to resize
DocumentTagInfoProviderRemoveTagFromDocument Method

Note: This API is now obsolete.

Removes tag from the specified document.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IDocumentTagInfoProvider.Remove(int documentId, int tagId) instead. WARNING: The suggested replacement has different order of parameters. To get an instance of the interface's implementation, use dependency injection or access the instance directly - DocumentTagInfo.Provider.")]
public static void RemoveTagFromDocument(
	int tagId,
	int documentId
)

Parameters

tagId
Type: SystemInt32
ID of the removed tag
documentId
Type: SystemInt32
ID of the document tag is removed from
See Also