Click or drag to resize
DocumentCategoryInfoProviderGetDocumentCategoryInfo Method

Note: This API is now obsolete.

Returns the DocumentCategoryInfo structure for the specified documentCategory.

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

Parameters

documentId
Type: SystemInt32
DocumentID
categoryId
Type: SystemInt32
CategoryID

Return Value

Type: DocumentCategoryInfo
See Also