Click or drag to resize
BadWordInfoProviderCheckAllBadWords Method (String, String, String, Hashtable, Int32)
Checks given text for all bad words.

Namespace: CMS.Protection
Assembly: CMS.Protection (in CMS.Protection.dll) Version: 11.0.0
Syntax
C#
public 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: BadWordActionEnum
What action should be performed and modified text through the text parameter.
See Also