include element
Includes the contents of a macro or file in the generated output.
<include
macro = "character_string"
file = "character_string"/>
Attribute | Type | Required | Description |
---|---|---|---|
file |
character_string |
No |
The path to the file to include. |
macro |
character_string |
No |
The name of the macro to include. |
There are no child elements.
Element | Description |
---|---|
file |
Directs the code generator to generate a file and specifies the output file name. |
Either the macro attribute or the file attribute must be specified. Do not specify both attributes.
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">
Label | Value |
---|---|
Minimum supported system |
Windows Vista |
Can be empty | Yes |