DeleteSolutionXMLElement method

Microsoft Visio Developer Reference

DeleteSolutionXMLElement method

   Example   

Deletes the named SolutionXML element.

Version added

2002

Syntax

object.DeleteSolutionXMLElement elementName

object

Required. An expression that returns a Document object.

elementName

Required String. Name of the SolutionXML element to delete.

Remarks

The elementName argument is case-sensitive and should match the name passed as an argument to the SolutionXMLElement property.

If Microsoft Visio 2002 files are saved in Visio 5.0 format, SolutionXML elements are deleted. If version 2002 files are saved in Visio 2000 format, SolutionXML elements are saved but the data is inaccessible.