ExtendObjectTypeWithPropertyPropertyType Method |
Extends the type with a new generic property
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 12.0.0
Syntax public static GenericExtension<PropertyType> WithProperty<PropertyType>(
string propertyName
)
where PropertyType : new()
Parameters
- propertyName
- Type: SystemString
Property name
Type Parameters
- PropertyType
Return Value
Type:
GenericExtensionPropertyTypeSee Also