Freigeben über


OpenXmlPackage.Validate(OpenXmlPackageValidationSettings) Methode

Definition

Achtung

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

Überprüft das Paket. Diese Methode überprüft nicht den XML-Inhalt in jedem Teil.

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)

Parameter

validationSettings
OpenXmlPackageValidationSettings

OpenXmlPackageValidationSettings für Validierungsereignisse.

Attribute

Hinweise

Wenn validationSettings NULL ist oder kein EventHandler festgelegt ist, besteht das Standardverhalten darin, eine OpenXmlPackageException für den Validierungsfehler auszulösen.

Gilt für: