Condividi tramite


XsltProcessor Classe

Definizione

Fornisce i metodi necessari per il processore Xslt.

public ref class XsltProcessor sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Data.Xml.Xsl.IXsltProcessorFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class XsltProcessor final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Data.Xml.Xsl.IXsltProcessorFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class XsltProcessor final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Data.Xml.Xsl.IXsltProcessorFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class XsltProcessor
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Data.Xml.Xsl.IXsltProcessorFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class XsltProcessor
function XsltProcessor(document)
Public NotInheritable Class XsltProcessor
Ereditarietà
Object Platform::Object IInspectable XsltProcessor
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Costruttori

XsltProcessor(XmlDocument)

Crea un nuovo oggetto XsltProcessor dal documento fornito.

Metodi

TransformToDocument(IXmlNode)

Elabora un nodo e i relativi elementi figlio e restituisce l'xmlDocument risultante.

TransformToString(IXmlNode)

Elabora un nodo e i relativi elementi figlio e restituisce la trasformazione stringa risultante.

Si applica a

Vedi anche