Extend ObjectType  WithStaticProperty PropertyType  Method (String, Func PropertyType , Action PropertyType )Kentico 8.1 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.1.5347.20411)

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