XsltSettings.EnableScript PropertyXsltSettings.EnableScript PropertyXsltSettings::EnableScript Property

Gets or sets a value indicating whetherr to enable support for embedded script blocks.

Syntax

Public Property EnableScript As Boolean
        Get
        Set(ByVal value As Boolean)
public bool EnableScript { get; set; }
public:
property bool EnableScript {
    bool get();
    void set(bool value);
}
 

Property Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue to support script blocks in XSLT stylesheets; otherwise, falseFalsefalse.

Remarks

The default value is falseFalsefalse.

XSLT scripting should be enabled only if you require script support and you are working in a fully trusted environment.