XsltSettings.WarningsAsErrors PropertyXsltSettings.WarningsAsErrors PropertyXsltSettings::WarningsAsErrors Property

Gets or sets a value indicating whether to treat warnings as errors for embedded script blocks.

Syntax

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

Property Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue to report compilations warnings in script blocks as errors 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.