共用方式為


Document.SolutionXMLElementExists Property (Visio)

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.