Document.SolutionXMLElementExists Property

Visio Automation Reference

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

Version Information
 Version Added:  Visio 2002

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.

See Also