Compartir a través de


OpenXmlPart.ValidateXml Método

Definición

Sobrecargas

ValidateXml(String, ValidationEventHandler)
Obsoletos.

Valida el contenido XML de la parte mediante el esquema especificado.

ValidateXml(XmlSchemaSet, ValidationEventHandler)
Obsoletos.

Valida el contenido XML de la parte mediante el esquema especificado.

ValidateXml(String, ValidationEventHandler)

Precaución

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

Valida el contenido XML de la parte mediante el esquema especificado.

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)

Parámetros

schemaFile
String

Esquema XML que se va a usar.

validationEventHandler
ValidationEventHandler

ValidationEventHandler para eventos de validación.

Atributos

Se aplica a

ValidateXml(XmlSchemaSet, ValidationEventHandler)

Precaución

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

Valida el contenido XML de la parte mediante el esquema especificado.

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)

Parámetros

schemas
XmlSchemaSet

Conjunto de esquemas XML que se van a usar.

validationEventHandler
ValidationEventHandler

ValidationEventHandler para eventos de validación.

Atributos

Se aplica a