ITaxonomyManagerCategoriesCount Method (String, ILocale, Boolean) Ingeniux CMS Content Store API

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: 9.0.565.0 (9.0.565)
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

Reference