Extend<ObjectType>.WithProperty<PropertyType> Method |
Extends the type with a new generic property
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 11.0.0
Syntaxpublic static GenericExtension<PropertyType> WithProperty<PropertyType>(
string propertyName
)
where PropertyType : new()
Parameters
- propertyName
- Type: System.String
Property name
Type Parameters
- PropertyType
Return Value
Type:
GenericExtension<PropertyType>
See Also