Click or drag to resize
AbstractSimpleDataContainerTObjectRegisterColumnTColumn Method (String, FuncTObject, Object, FuncTObject, Object, Object)
Registers the given Column to the object

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
protected PropertySettings<TObject> RegisterColumn<TColumn>(
	string columnName,
	Func<TObject, Object> lambdaExpr,
	Func<TObject, Object, Object> setLambdaExpr
)
where TColumn : new()

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

Type Parameters

TColumn

Return Value

Type: PropertySettingsTObject
See Also