Partager via


OpenXmlPackageValidationSettings.EventHandler Event

NOTE: This API is now obsolete.

Represents the callback method that will handle OpenXmlPackage validation events and the OpenXmlPackageValidationEventArgs.

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 Event EventHandler As EventHandler(Of OpenXmlPackageValidationEventArgs)
'Usage
Dim instance As OpenXmlPackageValidationSettings
Dim handler As EventHandler(Of OpenXmlPackageValidationEventArgs)

AddHandler instance.EventHandler, handler
[ObsoleteAttribute("This functionality is obsolete and will be removed from future version release. Please see OpenXmlValidator class for supported validation functionality.", 
    false)]
public event EventHandler<OpenXmlPackageValidationEventArgs> EventHandler

See Also

Reference

OpenXmlPackageValidationSettings Class

OpenXmlPackageValidationSettings Members

DocumentFormat.OpenXml.Packaging Namespace