Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Warning
Please take notice that this class has been marked as obsolete. Please use a generic collection instead.

The StringCollection provides a way for users to enter a list of strings. In your code, you can refer to these strings as members of an array. To use this class, you must include a reference to the CodeSmith.CustomProperties assembly in your template:

...

When the user executes the template, the specified property will display a builder button on the property sheet:

Image Modified

Clicking the builder button will open an editor that allows the user to type strings on separate lines:

Image Modified

Info

You can also edit the members of the collection directly in the property grid as a comma-separated list.

...