Click or drag to resize
DocumentCategoryInfoProviderRemoveDocumentFromCategory Method

Note: This API is now obsolete.

Removes document from category.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IDocumentCategoryInfoProvider.Remove(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - DocumentCategoryInfo.Provider.")]
public static void RemoveDocumentFromCategory(
	int documentId,
	int categoryId
)

Parameters

documentId
Type: SystemInt32
ID of document
categoryId
Type: SystemInt32
ID of category
See Also