VirtualPathHelper RemoveDirectives Method Kentico 8.1 API Reference
Removes the default layout directives from the layout code.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

code
Type: OnlineSystem String
Code to process
defaultDirectives
Type:  OnlineSystem String 
Default directives to be removed

Return Value

Type: OnlineString
See Also