ReadOnlyMacroObjectWrapper ObjectType  RegisterColumn Method (String, Func ObjectType, Object , Func ObjectType, Object, Object )Kentico 8.0 API Reference
Registers the given Column to the object

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

columnName
Type: OnlineSystem String
Column name
lambdaExpr
Type: OnlineSystem Func ObjectType, OnlineObject 
Lambda expression for the getter of the property (object, parameter) => return value
setLambdaExpr
Type: OnlineSystem Func ObjectType, OnlineObject, OnlineObject 
Lambda expression for the setter of the property (object, parameter, value) => set

Return Value

Type: PropertySettings ReadOnlyMacroObjectWrapper ObjectType  
See Also