Document.SolutionXMLElementExists property (Visio)

Indicates whether a named SolutionXML element exists in the document. Read-only.


expression.SolutionXMLElementExists (ElementName)

expression A variable that represents a Document object.


Name Required/Optional Data type Description
ElementName Required String The case-sensitive name of the SolutionXML element.

Return value



Because the SolutionXMLElement property can overwrite existing XML data, always use the SolutionXMLElementExists property to verify whether ElementName already exists in the document.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.