OpenXmlPart.ValidateXml Méthode

Définition

Surcharges

ValidateXml(String, ValidationEventHandler)
Obsolète.

Valide le contenu XML du composant à l’aide du schéma spécifié.

ValidateXml(XmlSchemaSet, ValidationEventHandler)
Obsolète.

Valide le contenu XML du composant à l’aide du schéma spécifié.

ValidateXml(String, ValidationEventHandler)

Attention

This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.

Valide le contenu XML du composant à l’aide du schéma spécifié.

public void ValidateXml (string schemaFile, System.Xml.Schema.ValidationEventHandler validationEventHandler);
[System.Obsolete("This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.", false)]
public void ValidateXml (string schemaFile, System.Xml.Schema.ValidationEventHandler validationEventHandler);
member this.ValidateXml : string * System.Xml.Schema.ValidationEventHandler -> unit
[<System.Obsolete("This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.", false)>]
member this.ValidateXml : string * System.Xml.Schema.ValidationEventHandler -> unit
Public Sub ValidateXml (schemaFile As String, validationEventHandler As ValidationEventHandler)

Paramètres

schemaFile
String

Schéma XML à utiliser.

validationEventHandler
ValidationEventHandler

ValidationEventHandler pour les événements de validation.

Attributs

S’applique à

ValidateXml(XmlSchemaSet, ValidationEventHandler)

Attention

This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.

Valide le contenu XML du composant à l’aide du schéma spécifié.

public void ValidateXml (System.Xml.Schema.XmlSchemaSet schemas, System.Xml.Schema.ValidationEventHandler validationEventHandler);
[System.Obsolete("This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.", false)]
public void ValidateXml (System.Xml.Schema.XmlSchemaSet schemas, System.Xml.Schema.ValidationEventHandler validationEventHandler);
member this.ValidateXml : System.Xml.Schema.XmlSchemaSet * System.Xml.Schema.ValidationEventHandler -> unit
[<System.Obsolete("This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.", false)>]
member this.ValidateXml : System.Xml.Schema.XmlSchemaSet * System.Xml.Schema.ValidationEventHandler -> unit
Public Sub ValidateXml (schemas As XmlSchemaSet, validationEventHandler As ValidationEventHandler)

Paramètres

schemas
XmlSchemaSet

Ensemble de schémas XML à utiliser.

validationEventHandler
ValidationEventHandler

ValidationEventHandler pour les événements de validation.

Attributs

S’applique à