Edit

Share via


macro element

Defines text or CDATA to be reused by the include element.

Usage

<macro
  name = "character_string"/>

Attributes

Attribute Type Required Description
name
character_string
Yes
The name of the macro.

Child elements

There are no child elements.

Parent elements

Element Description
wsdCodeGen
The root element of a WSDAPI code generator XML script file.

Remarks

WsdCodeGen defines a macro named DoNotModify. When this macro is included, the generated code contains a high-visibility comment block that instructs developers not to modify the generated code.

The following XML shows how to include the DoNotModify macro. This XML can be added to an XML configuration file for WsdCodeGen.

<include macro="DoNotModify">

Element information

Label Value
Minimum supported system
Windows Vista
Can be empty Yes