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

Namespace: CMS.MacroEngine
Assembly: CMS.MacroEngine (in CMS.MacroEngine.dll) Version: 9.0.0
Syntax
C#
protected PropertySettings<ReadOnlyMacroObjectWrapper<TObject>> RegisterColumn<ColumnType>(
	string columnName,
	Func<TObject, Object> lambdaExpr
)
where ColumnType : new()

Parameters

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

Type Parameters

ColumnType

Return Value

Type: PropertySettingsReadOnlyMacroObjectWrapperTObject
See Also