Click or drag to resize
ExtendObjectTypeWithPropertyPropertyType Method
Extends the type with a new generic property

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 10.0.0
Syntax
C#
public static GenericExtension<PropertyType> WithProperty<PropertyType>(
	string propertyName
)
where PropertyType : new()

Parameters

propertyName
Type: SystemString
Property name

Type Parameters

PropertyType

Return Value

Type: GenericExtensionPropertyType
See Also