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

Namespace: CMS.Protection
Assembly: CMS.Protection (in CMS.Protection.dll) Version: 8.2.23
Syntax
C#
public static BadWordActionEnum CheckAllBadWords(
	string cultureCode,
	string siteName,
	ref string text,
	Hashtable foundWords
)

Parameters

cultureCode
Type: SystemString
Code of culture
siteName
Type: SystemString
Site name
text
Type: SystemString
Text to check
foundWords
Type: System.CollectionsHashtable
Found words

Return Value

Type: BadWordActionEnum
What action should be performed and modified text through the text parameter.
See Also