DataExtensionsWhenColumnValue Method |
Adds the condition for the column value to the factory
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax public static IConditionalObjectFactory WhenColumnValue(
this IConditionalObjectFactory fact,
string className,
string columnName,
Func<Object, bool> condition
)
Parameters
- fact
- Type: CMS.BaseIConditionalObjectFactory
Factory to extend - className
- Type: SystemString
Object class name - columnName
- Type: SystemString
Column name - condition
- Type: SystemFuncObject, Boolean
Condition that must be matched, if null, the value converted to bool must match
Return Value
Type:
IConditionalObjectFactoryUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IConditionalObjectFactory. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also