Поделиться через


OpenXmlValidator Members

Include Protected Members
Include Inherited Members

Defines the OpenXmlValidator.

The OpenXmlValidator type exposes the following members.

Constructors

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

Top

Properties

  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.

Top

Methods

  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.

Top

See Also

Reference

OpenXmlValidator Class

DocumentFormat.OpenXml.Validation Namespace