Table of contents
TOC
Collapse the table of content
Expand the table of content

CustomXMLValidationError.Delete Method (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Deletes the CustomXMLValidationError object representing a data validation error.

Syntax

expression. Delete

expression An expression that returns a CustomXMLValidationError object.

Example

The following example deletes the validation error containing specific text.

Dim objCustomXMLValidationError as CustomXMLValidationError 

' Deletes the specified error message. 
objCustomXMLValidationError.Text("To add content to this data stream, it must be valid, well-formed XML." ).Delete

See also

Concepts

CustomXMLValidationError Object

Other resources

CustomXMLValidationError Object Members

© 2018 Microsoft