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.ContactManagementAssembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 13.0.131
Syntax public static IDataContainer GetDataFromCondition(
RuleInfo rule,
DataTable table,
ref string activityTypeName
)
Parameters
- rule
- Type: CMS.ContactManagementRuleInfo
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:
IDataContainerSee Also