Freigeben über


OpenXmlPart.ValidateXml Methode

Definition

Überlädt

ValidateXml(String, ValidationEventHandler)
Veraltet.

Überprüft den XML-Inhalt des Teils mithilfe des angegebenen Schemas.

ValidateXml(XmlSchemaSet, ValidationEventHandler)
Veraltet.

Überprüft den XML-Inhalt des Teils mithilfe des angegebenen Schemas.

ValidateXml(String, ValidationEventHandler)

Achtung

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

Überprüft den XML-Inhalt des Teils mithilfe des angegebenen Schemas.

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)

Parameter

schemaFile
String

Das zu verwendende XML-Schema.

validationEventHandler
ValidationEventHandler

ValidationEventHandler für Validierungsereignisse.

Attribute

Gilt für:

ValidateXml(XmlSchemaSet, ValidationEventHandler)

Achtung

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

Überprüft den XML-Inhalt des Teils mithilfe des angegebenen Schemas.

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)

Parameter

schemas
XmlSchemaSet

Der Satz der zu verwendenden XML-Schemas.

validationEventHandler
ValidationEventHandler

ValidationEventHandler für Validierungsereignisse.

Attribute

Gilt für: