Compartir a través de


OpenXmlPackage.Validate(OpenXmlPackageValidationSettings) Método

Definición

Precaución

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

Valida el paquete. Este método no valida el contenido XML de cada parte.

public void Validate (DocumentFormat.OpenXml.Packaging.OpenXmlPackageValidationSettings validationSettings);
[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 Validate (DocumentFormat.OpenXml.Packaging.OpenXmlPackageValidationSettings validationSettings);
member this.Validate : DocumentFormat.OpenXml.Packaging.OpenXmlPackageValidationSettings -> 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.Validate : DocumentFormat.OpenXml.Packaging.OpenXmlPackageValidationSettings -> unit
Public Sub Validate (validationSettings As OpenXmlPackageValidationSettings)

Parámetros

validationSettings
OpenXmlPackageValidationSettings

OpenXmlPackageValidationSettings para eventos de validación.

Atributos

Comentarios

Si validationSettings es null o no se establece EventHandler, el comportamiento predeterminado es producir una excepción OpenXmlPackageException en el error de validación.

Se aplica a