Click or drag to resize
RuleHelperGetDataFromCondition Method
Returns data row container initialized with data from rule condition if the table definition contains column named as rule item name. If there is no column named as rule item name then empty data row container is returned.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.2.23
Syntax
C#
public static IDataContainer GetDataFromCondition(
	RuleInfo rule,
	DataTable table,
	ref string activityTypeName
)

Parameters

rule
Type: CMS.OnlineMarketingRuleInfo
RuleInfo object
table
Type: System.DataDataTable
Table definition
activityTypeName
Type: SystemString
Activity type name is returned via this parameter if it is activity rule

Return Value

Type: IDataContainer
See Also