OpenXmlPackage.Validate-Methode
HINWEIS: Diese API ist jetzt veraltet.
Validate the package ( do not validate the xml content in each part ).
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ObsoleteAttribute("This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.", _
False)> _
Public Sub Validate ( _
validationSettings As OpenXmlPackageValidationSettings _
)
'Usage
Dim instance As OpenXmlPackage
Dim validationSettings As OpenXmlPackageValidationSettings
instance.Validate(validationSettings)
[ObsoleteAttribute("This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.",
false)]
public void Validate(
OpenXmlPackageValidationSettings validationSettings
)
Parameter
- validationSettings
Typ: DocumentFormat.OpenXml.Packaging.OpenXmlPackageValidationSettings
OpenXmlPackageValidationSettings for validation events.
Hinweise
If the validationSettings is null or no EventHandler is set, the default behavior is throw OpenXmlPackageException on validating error.