PluginsClass.Item Method

This method returns a Plugin object for the registered plug-in specified by the index parameter.

Syntax

HotDocs.Plugin Item ( int index )

Parameters Description
index The index of a specific registered plug-in to be returned.

Return Value

A Plugin object for the registered plug-in specified by the index parameter.

Example (Visual C#)

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);
        }
    }
}