ReadOnlyMacroObjectWrapper ObjectType  RegisterProperty PropertyType  Method (String, Func ObjectType, Object )Kentico 8.0 API Reference
Registers the given property to the object

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

Parameters

propertyName
Type: OnlineSystem String
Property name
ex
Type: OnlineSystem Func ObjectType, OnlineObject 
Lambda expression

Return Value

Type: PropertySettings ReadOnlyMacroObjectWrapper ObjectType  
See Also