Adding Attribute to a Struct

Attributes describe the data that is contained in the struct. To add an attribute to a struct, do the following:

  1. Select the struct you wish to add an attribute to in the project explorer.
  2. Select Add Attribute, and select Default from the right-click context menu.
  3. In the the Create Default Attribute Wizard, name the attribute and choose its type from the list of available types.