Click or drag to resize
VirtualPathHelperRemoveDirectives Method
Removes the default layout directives from the layout code.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 8.2.23
Syntax
C#
public static string RemoveDirectives(
	string code,
	string[] defaultDirectives
)

Parameters

code
Type: SystemString
Code to process
defaultDirectives
Type: SystemString
Default directives to be removed

Return Value

Type: String
See Also