ExtendObjectTypeWithPropertyPropertyType Method |
Extends the type with a new generic property
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
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