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

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 10.0.0
Syntax
C#
protected PropertySettings<TObject> RegisterColumn<ColumnType>(
	string columnName,
	Func<TObject, Object> lambdaExpr
)

Parameters

columnName
Type: SystemString
Column name
lambdaExpr
Type: SystemFuncTObject, Object
Lamda expression for the getter of the property (object, parameter) => return value

Type Parameters

ColumnType

Return Value

Type: PropertySettingsTObject
See Also