CategoryInfoProviderGetCategories Method (String, String, Int32, String, Int32) |
Returns a query for all categories for specified site matching the specified parameters.
Namespace: CMS.TaxonomyAssembly: CMS.Taxonomy (in CMS.Taxonomy.dll) Version: 13.0.131
Syntax public static ObjectQuery<CategoryInfo> GetCategories(
string where,
string orderBy,
int topN,
string columns,
int siteId
)
Parameters
- where
- Type: SystemString
Where condition. - orderBy
- Type: SystemString
Order by expression. - topN
- Type: SystemInt32
Number of records to be selected. - columns
- Type: SystemString
Columns to be selected. - siteId
- Type: SystemInt32
Site ID.
Return Value
Type:
ObjectQueryCategoryInfoSee Also