MsoCustomXMLValidationErrorType Enumeration

Indicates how validation errors will be cleared or generated.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Public Enumeration MsoCustomXMLValidationErrorType
'Usage
Dim instance As MsoCustomXMLValidationErrorType
public enum MsoCustomXMLValidationErrorType

Members

Member name Description
msoCustomXMLValidationErrorSchemaGenerated Specifies that where there is a non-empty schema collection available for the custom XML part and validation is in effect, any changes to the part will cause validation errors.
msoCustomXMLValidationErrorAutomaticallyCleared Specifies that the error will clear itself whenever any change is made to the node it is bound to.
msoCustomXMLValidationErrorManual Specifies that the error will not be cleared until the CustomXMLValidationError.Delete() method is called.

Remarks

References to DTDs from custom XML parts are not supported. DTD references in custom XML parts will not resolve, and custom XML parts containing DTD references generate an exception when an attempt is made to save the file's content to a flat XML file.

See Also

Reference

Microsoft.Office.Core Namespace