Microsoft DirectX 8.0 (Visual Basic) |
Templates can be open, closed, or restricted. These restrictions determine which data types can appear in the immediate hierarchy of a data object defined by the template. An open template has no restrictions, a closed template rejects all data types, and a restricted template allows a named list of data types.
The syntax for indicating an open template is three periods enclosed by square brackets.
[ ... ]
A comma-separated list of named data types followed optionally by their universally unique identifiers (UUIDs) enclosed by square brackets indicates a restricted template.
[ { data-type [ UUID ] , } ... ]
The absence of either of the above indicates a closed template.