OpenXmlValidator Members

Include Protected Members
Include Inherited Members

Defines the OpenXmlValidator.

The OpenXmlValidator type exposes the following members.


  Name Description
Public method OpenXmlValidator() Initializes a new instance of the OpenXmlValidator.
Public method OpenXmlValidator(FileFormatVersions) Initializes a new instance of the OpenXmlValidator.



  Name Description
Public property FileFormat Gets the target file format to be validated against.
Public property MaxNumberOfErrors Gets or sets the maximum number of errors the OpenXmlValidator will return. Default is 1000. A zero (0) value means no limitation.



  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method Validate(OpenXmlElement) Validates the specified element.
Public method Validate(OpenXmlPackage) Validates the specified document.
Public method Validate(OpenXmlPart) Validates the specified content in the OpenXmlPart.


See Also


OpenXmlValidator Class

DocumentFormat.OpenXml.Validation Namespace