| BadWordInfoProviderCheckBadWord Method | 
            Checks given text for given bad word.
            
 
Namespace: CMS.ProtectionAssembly: CMS.Protection (in CMS.Protection.dll) Version: 10.0.0
 Syntax
Syntaxpublic static BadWordActionEnum CheckBadWord(
	BadWordInfo word,
	string cultureCode,
	string siteName,
	ref string text,
	Hashtable foundWords,
	int maxTextLength
)
Parameters
- word
- Type: CMS.ProtectionBadWordInfo
 BadWordInfo object
- 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
See Also