CategoryInfoProviderGetCategories Method (String, String, Int32, String) |
Returns a query for all categories matching the specified parameters.
Namespace: CMS.TaxonomyAssembly: CMS.Taxonomy (in CMS.Taxonomy.dll) Version: 9.0.0
Syntaxpublic static ObjectQuery<CategoryInfo> GetCategories(
string where,
string orderBy,
int topN = 0,
string columns = null
)
Parameters
- where
- Type: SystemString
Where condition. - orderBy
- Type: SystemString
Order by expression. - topN (Optional)
- Type: SystemInt32
Number of records to be selected. - columns (Optional)
- Type: SystemString
Columns to be selected.
Return Value
Type:
ObjectQueryCategoryInfo
See Also