[Read/Write] This property sets/returns the priority index of the plug-in within its assigned priorityClass. Plug-ins with lower indexes (and lower priority classes) are called before plug-ins with higher indexes. The priorityIndex may be any number 1-99.
int priorityIndex [ set, get ]
The following Visual C# example displays various properties of each registered plugin:
public class ExampleCode { static void Main() { HotDocs.Application app = new HotDocs.Application(); HotDocs.PluginsClass plugins = app.Plugins; string msg; for (int i = 0; i < plugins.Count; i++) { msg = "CLSID: " + plugins.Item(i).CLSID + "\n\r"; msg += "Description: " + plugins.Item(i).Description + "\n\r"; msg += "priorityClass: " + plugins.Item(i).priorityClass + "\n\r"; msg += "priorityIndex: " + plugins.Item(i).priorityIndex; MessageBox.Show(msg); } } }