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