SolutionXMLElementExists Property [Visio 2003 SDK Documentation]
Indicates whether a named SolutionXML element exists in the document.
boolRet = object**.SolutionXMLElementExists** (elementName)**
boolRet Boolean. True (-1) **if a SolutionXML element named elementName exists; False (0) if it does not.
object Required. An expression that returns a Document object.
elementName Required String. The case-sensitive name of the SolutionXML element.
Version added
2002
Remarks
Because the SolutionXMLElement property can overwrite existing XML data, always use the SolutionXMLElementExists property to verify whether elementName already exists in the document.
Applies to | Document object
See Also | SolutionXMLElement property | SolutionXMLElementCount property | SolutionXMLElementName property