TransformationInfoProviderGenerateTransformationCode Method |
Generates the default transformation code for given class.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 10.0.0
Syntax public static string GenerateTransformationCode(
string className,
TransformationTypeEnum transformationType,
DefaultTransformationTypeEnum defaultTransformationType = DefaultTransformationTypeEnum.Default
)
Parameters
- className
- Type: SystemString
Class name - transformationType
- Type: CMS.PortalEngineTransformationTypeEnum
Type of the transformation to be generated. - defaultTransformationType (Optional)
- Type: CMS.PortalEngineDefaultTransformationTypeEnum
Default transformation type for the ASCX transformation.
Return Value
Type:
StringSee Also