OpenXmlValidator Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the OpenXmlValidator.
public class OpenXmlValidator
type OpenXmlValidator = class
Public Class OpenXmlValidator
- Inheritance
-
OpenXmlValidator
Constructors
OpenXmlValidator() |
Initializes a new instance of the OpenXmlValidator. |
OpenXmlValidator(FileFormatVersions) |
Initializes a new instance of the OpenXmlValidator. |
Properties
FileFormat |
Gets the target file format to be validated against. |
MaxNumberOfErrors |
Gets or sets the maximum number of errors the OpenXmlValidator will return.
Default is |
Methods
Validate(OpenXmlElement, CancellationToken) |
Validates the specified element. |
Validate(OpenXmlElement) |
Validates the specified element. |
Validate(OpenXmlPackage, CancellationToken) |
Validates the specified document. |
Validate(OpenXmlPackage) |
Validates the specified document. |
Validate(OpenXmlPart, CancellationToken) |
Validates the specified content in the |
Validate(OpenXmlPart) |
Validates the specified content in the |