XsltSettings.EnableScript 属性

定义

注意

XSLT Script blocks are not supported.

获取或设置一个值,该值指示是否启用对嵌入式脚本块的支持。

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

属性值

true 支持 XSLT 样式表中的脚本块;否则,为 false. 默认值为 false

属性

注解

Important

仅当需要脚本支持并且正在使用完全受信任的环境中时,才应启用 XSLT 脚本。

适用于

另请参阅