Document.SolutionXMLElementExists property (Visio)

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

Syntax

expression. SolutionXMLElementExists( _ElementName_ )

expression A variable that represents a Document object.

Parameters

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

Return value

Boolean

Remarks

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.