Checks given text for given bad word.
Namespace: CMS.ProtectionAssembly: CMS.Protection (in CMS.Protection.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- word
- Type: CMS.Protection BadWordInfo
BadWordInfo object
- cultureCode
- Type: System String
Code of culture
- siteName
- Type: System String
Site name
- text
- Type: System String
Text to check
- foundWords
- Type: System.Collections Hashtable
Found words
- maxTextLength
- Type: System Int32
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