Click or drag to resize
TransformationInfoProviderGenerateTransformationCode Method
Generates the default transformation code for given class.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 12.0.0
Syntax
C#
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: String
See Also