BadWordInfoProviderCheckAllBadWords Method (String, String, String, Hashtable, Int32) |
Checks given text for all bad words.
Namespace: CMS.ProtectionAssembly: CMS.Protection (in CMS.Protection.dll) Version: 11.0.0
Syntaxpublic static BadWordActionEnum CheckAllBadWords(
string cultureCode,
string siteName,
ref string text,
Hashtable foundWords,
int maxTextLength
)
Parameters
- cultureCode
- Type: SystemString
Code of culture - siteName
- Type: SystemString
Site name - text
- Type: SystemString
Text to check - foundWords
- Type: System.CollectionsHashtable
Found words - maxTextLength
- Type: SystemInt32
Maximum length of the text to be checked. If value is zero, text length is unlimited.
Return Value
Type:
BadWordActionEnumWhat action should be performed and modified text through the text parameter.
See Also