Extend ObjectType  WithStaticProperty PropertyType  Method (String, Func PropertyType , Action PropertyType )Kentico 8.0 API Reference
Extends the type with a new generic static property

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

Parameters

propertyName
Type: OnlineSystem String
Property name
getter
Type: OnlineSystem Func PropertyType 
Getter function
setter (Optional)
Type: OnlineSystem Action PropertyType 
Setter function

Return Value

Type: GenericProperty PropertyType 
See Also