Click or drag to resize
DocumentCategoryInfoProviderAddDocumentToCategory Method
Adds document (post) to the specified category.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static void AddDocumentToCategory(
	int documentId,
	int categoryId
)

Parameters

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