CategoryInfoProvider GetDocumentCategories Method (Int32, String, String, Int32, String)Kentico 8.0 API Reference
Returns all categories the document is a member of.

Namespace: CMS.Taxonomy
Assembly: CMS.Taxonomy (in CMS.Taxonomy.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

documentId
Type: OnlineSystem Int32
ID of the document categories are related to.
where (Optional)
Type: OnlineSystem String
Where condition to filter returned categories.
orderBy (Optional)
Type: OnlineSystem String
Order by expression to sort the returned categories.
topN (Optional)
Type: OnlineSystem Int32
Select top n records
columns (Optional)
Type: OnlineSystem String
List of columns to select

Return Value

Type: InfoDataSet CategoryInfo 
See Also