Click or drag to resize
TransformationInfoProviderAddTransformationDirectives Method (String, Boolean, EditModeButtonEnum, TransformationTypeEnum)
Adds the layout directives to the transformation.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 10.0.0
Syntax
C#
public static string AddTransformationDirectives(
	string code,
	bool useInternal,
	EditModeButtonEnum mode,
	TransformationTypeEnum type
)

Parameters

code
Type: SystemString
Code
useInternal
Type: SystemBoolean
If true, internal directives are used
mode
Type: CMS.PortalEngineEditModeButtonEnum
Indicates which mode for 'edit/delete buttons' should be used
type
Type: CMS.PortalEngineTransformationTypeEnum
Type of the transformation

Return Value

Type: String
See Also