DocumentCategoryInfoProviderAddDocumentToCategory Method |
Adds document (post) to the specified category.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax public static void AddDocumentToCategory(
int documentId,
int categoryId
)
Parameters
- documentId
- Type: SystemInt32
ID of document - categoryId
- Type: SystemInt32
ID of category
See Also