RegisteredProperties ParentObjectType  Add PropertyType  Method (String, Func ParentObjectType, Object , Action ParentObjectType, Object )Kentico 8.1 API Reference
Registers the given property to the object

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

propertyName
Type: OnlineSystem String
Property name
lambdaExpr
Type: OnlineSystem Func ParentObjectType, OnlineObject 
Lambda expression for the getter of the property (object) => return value
setLambdaExpr
Type: OnlineSystem Action ParentObjectType, OnlineObject 
Lambda expression for the setter of the property (object, value) => set

Return Value

Type: PropertySettings ParentObjectType 
See Also