[This is preliminary documentation and is subject to change.]
Protected function "RegisterProperty", proved to the user DLL for registering
properties used by the DLL computation. This function should be invoked in
Init()()(), and the registered properties will be passed to Visual
Signal's ExternalDll module via getDllInfo()()() and become available in
the module's property dialog for editing. The current values will be communicated
back and forth between ExternalDll module and the user DLL via setProperties(String)
and getProperties()()() exported functions.
| C# | Visual Basic | Visual C++ |
protected void RegisterProperty( string name, Type type, Object defaultValue, string category, string displayName, string description )
- name (String)
- Specifies the name of the property.
- type (Type)
-
Specifies the System.Type of the property. Currently, only the following types are handled:
Type Description System.Boolean Use typeof(bool) to obtain this System.Type. System.Int32 Use typeof(int) to obtain this System.Type. System.Double Use typeof(double) to obtain this System.Type. System.String Use typeof(string) to obtain this System.Type. System.Int32[] Use typeof(int[]) to obtain this System.Type. This will be handled in Visual Signal's property dialog as a string delimiited by ",", ";", or " ". System.Double[] Use typeof(double[]) to obtain this System.Type. This will be handled in Visual Signal's property dialog as a string delimiited by ",", ";", or " ".
- defaultValue (Object)
- Specifies the default value of the property.
- category (String)
- Specifies the category of the property.
- displayName (String)
- Specifies the display name of the property.
- description (String)
- Specifies the description of the property.