VisualAddCustomProperty Method |
| Name | Description | |
|---|---|---|
| AddCustomProperty(String, Object, String) | Add a custom property to the visual. If the custom property already exists, then this call will update its value and description. | |
| AddCustomProperty(String, Type, Object, String) |
Add a custom property to the visual. If the custom property already exists, then this call will update its value, type and description.
Note: For most uses, AddCustomProperty(String, Object, String) or AddSimpleProperty(String, Object, String) is more suitable, because there is no need to pass the type parameter; it is taken automatically from the value. The only exception is if the value passed in is null, since we can't extract the type. |