XsltSettings.EnableScript Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
XSLT Script blocks are not supported.
Gets or sets a value indicating whether to enable support for embedded script blocks.
public:
property bool EnableScript { bool get(); void set(bool value); };
[System.Obsolete("XSLT Script blocks are not supported.", DiagnosticId="SYSLIB0062", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public bool EnableScript { get; set; }
public bool EnableScript { get; set; }
[<System.Obsolete("XSLT Script blocks are not supported.", DiagnosticId="SYSLIB0062", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.EnableScript : bool with get, set
member this.EnableScript : bool with get, set
Public Property EnableScript As Boolean
Property Value
true to support script blocks in XSLT style sheets; otherwise, false. The default is false.
- Attributes
Remarks
Important
XSLT scripting should be enabled only if you require script support and you are working in a fully trusted environment.