OpenXmlValidator Constructor (FileFormatVersions)

Initializes a new instance of the OpenXmlValidator.

Namespace:  DocumentFormat.OpenXml.Validation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Sub New ( _
    fileFormat As FileFormatVersions _
)
'Usage
Dim fileFormat As FileFormatVersions

Dim instance As New OpenXmlValidator(fileFormat)
public OpenXmlValidator(
    FileFormatVersions fileFormat
)

Parameters

Exceptions

Exception Condition
ArgumentOutOfRangeException

Thrown when the "fileFormat" parameter is not FileFormat.Office2007 or FileFormat.Office2010.

See Also

Reference

OpenXmlValidator Class

OpenXmlValidator Members

OpenXmlValidator Overload

DocumentFormat.OpenXml.Validation Namespace