Click or drag to resize

ITaxonomyManagerCategoriesCount Method (String, ILocale, Boolean)


Gets the count of Category Nodes by initial characters in name, filtered by locale.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
int CategoriesCount(
	string nameInitialLetters,
	ILocale locale = null,
	bool searchSynonyms = false
)

Parameters

nameInitialLetters
Type: SystemString
The initial characters to search for in a category name. If the locale is not the category's creation locale, searches the translated name for that locale.
locale (Optional)
Type: Ingeniux.CMSILocale
The locale in which to search. If missing or null, uses the taxonomy manager's current locale.
searchSynonyms (Optional)
Type: SystemBoolean
Specifies whether to search synonyms.

Return Value

Type: Int32
Count of categories matching the criteria.
See Also