ComponentProperties.Add Method

This method adds a new ComponentProperty to the ComponentProperties collection.

This method was introduced with the release of HotDocs 2006.

Syntax

HotDocs.ComponentProperty Add ( string propertyName, object newVal )

Parameters Description
propertyName The name of the property to add to the collection.

New, custom property names should always be in ALL CAPS. If you create a property name that is not in all capital letters and later try to refer to it that way, you will receive an error because HotDocs converts the name you specify to all capitals when it creates the property.) Existing property names, such as the default properties HotDocs assigns to all components, may be mixed case.

newVal The value to assign to the new property.