OpenXmlValidator.MaxNumberOfErrors Property
Gets or sets the maximum number of errors the OpenXmlValidator will return. Default is 1000. A zero (0) value means no limitation.
Namespace: DocumentFormat.OpenXml.Validation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Property MaxNumberOfErrors As Integer
Get
Set
'Usage
Dim instance As OpenXmlValidator
Dim value As Integer
value = instance.MaxNumberOfErrors
instance.MaxNumberOfErrors = value
public int MaxNumberOfErrors { get; set; }
Property Value
Type: System.Int32
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Throw when the value set is less than zero. |