OpenXmlValidator Constructors
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.
Overloads
OpenXmlValidator() |
Initializes a new instance of the OpenXmlValidator. |
OpenXmlValidator(FileFormatVersions) |
Initializes a new instance of the OpenXmlValidator. |
OpenXmlValidator()
Initializes a new instance of the OpenXmlValidator.
public OpenXmlValidator ();
Public Sub New ()
Remarks
Defaults to Office2007.
Applies to
OpenXmlValidator(FileFormatVersions)
Initializes a new instance of the OpenXmlValidator.
public OpenXmlValidator (DocumentFormat.OpenXml.FileFormatVersions fileFormat);
new DocumentFormat.OpenXml.Validation.OpenXmlValidator : DocumentFormat.OpenXml.FileFormatVersions -> DocumentFormat.OpenXml.Validation.OpenXmlValidator
Public Sub New (fileFormat As FileFormatVersions)
Parameters
- fileFormat
- FileFormatVersions
The target file format to be validated against.
Exceptions
Thrown when the fileFormat
parameter is not a known format.
Remarks
Default to FileFormat.Office2007.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for