CategoryInfoProviderGetDocumentCategories Method |
Returns dataset of all categories base on complete where condition from TreeProvider.
Namespace: CMS.TaxonomyAssembly: CMS.Taxonomy (in CMS.Taxonomy.dll) Version: 10.0.0
Syntaxpublic static InfoDataSet<CategoryInfo> GetDocumentCategories(
string where = null,
string orderBy = null,
int topN = 0
)
Parameters
- where (Optional)
- Type: SystemString
Where condition. - orderBy (Optional)
- Type: SystemString
Order by condition. - topN (Optional)
- Type: SystemInt32
Top N condition.
Return Value
Type:
InfoDataSetCategoryInfo
See Also