Class DocumentPlugin2Attribute
Attribute for document plugins, implementing the IDocumentPlugin2 interface
Inherited Members
Namespace: SuperOffice.CRM.Documents
Assembly: SuperOffice.Plugins.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public sealed class DocumentPlugin2Attribute : PluginAttribute
Constructors
DocumentPlugin2Attribute(string, int)
Declare a plugin to be a document plugin, with a numeric ID. IDs are allocated by SuperOffice DevNet. ID's below 1000 are reserved for use by SuperOffice.
Declaration
public DocumentPlugin2Attribute(string name, int pluginId)
Parameters
Type | Name | Description |
---|---|---|
string | name | Plugin name, arbitrary string |
int | pluginId | Plugin ID, allocated by SuperOffice DevNet. MUST be unique |
Properties
PluginId
The numeric plugin ID, which matches the ID used in the doctmpl table
Declaration
public int PluginId { get; }
Property Value
Type | Description |
---|---|
int |