XsltSettings.Default Propriedade

Definição

Obtém um objeto XsltSettings com configurações padrão.Gets an XsltSettings object with default settings. O suporte à função document() de XSLT e a blocos de script inseridos está desabilitado.Support for the XSLT document() function and embedded script blocks is disabled.

public:
 static property System::Xml::Xsl::XsltSettings ^ Default { System::Xml::Xsl::XsltSettings ^ get(); };
public static System.Xml.Xsl.XsltSettings Default { get; }
member this.Default : System.Xml.Xsl.XsltSettings
Public Shared ReadOnly Property Default As XsltSettings

Valor da propriedade

Um objeto XsltSettings com as propriedades EnableDocumentFunction e EnableScript definidas como false.An XsltSettings object with the EnableDocumentFunction and EnableScript properties set to false.

Exemplos

O exemplo a seguir carrega uma folha de estilo com as configurações padrão de XSLT.The following example loads a style sheet with default XSLT settings.

// Create the XslCompiledTransform object and load the style sheet.
XslCompiledTransform xslt = new XslCompiledTransform();
xslt.Load("sort.xsl", XsltSettings.Default, new XmlUrlResolver());
' Create the XslCompiledTransform object and load the style sheet.
Dim xslt As New XslCompiledTransform()
xslt.Load("sort.xsl", XsltSettings.Default, New XmlUrlResolver())

Aplica-se a

Veja também