AbstractSimpleDataContainerTObjectRegisterColumn Method (String, FuncTObject, Object, FuncTObject, Object, Object) |
Registers the given Column to the object
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 11.0.0
Syntax protected PropertySettings<TObject> RegisterColumn(
string columnName,
Func<TObject, Object> lambdaExpr,
Func<TObject, Object, Object> setLambdaExpr
)
Parameters
- columnName
- Type: SystemString
Column name - lambdaExpr
- Type: SystemFuncTObject, Object
Lamda expression for the getter of the property (object, parameter) => return value - setLambdaExpr
- Type: SystemFuncTObject, Object, Object
Lamda expression for the setter of the property (object, parameter, value) => set
Return Value
Type:
PropertySettingsTObjectSee Also