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
)
Function CategoriesCount (
nameInitialLetters As String,
Optional locale As ILocale = Nothing,
Optional searchSynonyms As Boolean = false
) As Integer
int CategoriesCount(
String^ nameInitialLetters,
ILocale^ locale = nullptr,
bool searchSynonyms = false
)
abstract CategoriesCount :
nameInitialLetters : string *
?locale : ILocale *
?searchSynonyms : bool
(* Defaults:
let _locale = defaultArg locale null
let _searchSynonyms = defaultArg searchSynonyms false
*)
-> int
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:
Int32Count of categories matching the criteria.
See Also