XsltSettings.Default Propriedade

Definição

Obtém um XsltSettings objeto com configurações padrão. O suporte para a função XSLT document() e blocos de script inseridos está desabilitado.

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

Valor da propriedade

Um XsltSettings objeto com as propriedades e EnableScript as EnableDocumentFunction propriedades definidas como false.

Exemplos

O exemplo a seguir carrega uma folha de estilos com configurações XSLT padrão.

// 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

Confira também