ExtensionTExtensionAddAsProperty Method |
Adds the property to the given type
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax public static GenericExtension<TExtension> AddAsProperty(
Type type,
string propertyName
)
Parameters
- type
- Type: SystemType
Type to which register the property - propertyName
- Type: SystemString
Property name
Return Value
Type:
GenericExtensionTExtensionSee Also