Click or drag to resize
BadWordInfoProviderCheckAllBadWords Method (String, String, GeneralizedInfo, DictionaryString, Int32, Hashtable)
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,
	GeneralizedInfo infoObject,
	Dictionary<string, int> columns,
	Hashtable foundWords
)

Parameters

cultureCode
Type: SystemString
Code of culture
siteName
Type: SystemString
Site name
infoObject
Type: CMS.DataEngineGeneralizedInfo
Object info
columns
Type: System.Collections.GenericDictionaryString, Int32
Columns to check (column name and column size). If columns size is zero, column has maximal size and will not checked.
foundWords
Type: System.CollectionsHashtable
Found words

Return Value

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