PluginTypeAttribute

Overview

Represents an abstract base class for a plugin custom attributes. You will usually deal with VisualPluginAttribute and NonVisualPluginAttribute, which are descendants from this class.

Use Case

You can use this class to associate user-defined information, such as name of the plugin, description and some user data to the target visual or non-visual plugin.

  [Plugin(Name = "SamplePlugin", Description = "This is sample plugin", UserData = "Data"), VisualPlugin]
  public partial class Plugin1 : VisualPlugin
  [..]

Location


 

constructor  protected

Creates a new instance of the class.

 

constructor

 

PluginTypeAttribute()

 

Sub New()

Description    (declared in PluginAttribute)

Gets or sets the description of the plugin.

 

property Description: String read write;

 

String Description { get; set; }

 

Property Description() As String

MajorVersion    (declared in PluginAttribute)

 

property MajorVersion: Int32 read write;

 

Int32 MajorVersion { get; set; }

 

Property MajorVersion() As Int32

MinorVersion    (declared in PluginAttribute)

 

property MinorVersion: Int32 read write;

 

Int32 MinorVersion { get; set; }

 

Property MinorVersion() As Int32

Name    (declared in PluginAttribute)

Gets or sets the name of the plugin.

 

property Name: String read write;

 

String Name { get; set; }

 

Property Name() As String

RequiredPrivilege    (declared in PluginAttribute)

 

property RequiredPrivilege: String read write;

 

String RequiredPrivilege { get; set; }

 

Property RequiredPrivilege() As String

UserData    (declared in PluginAttribute)

Gets or sets the user data.

 

property UserData: String read write;

 

String UserData { get; set; }

 

Property UserData() As String

 

Description    (declared in PluginAttribute)

Gets or sets the description of the plugin.

 

property Description: String read write;

 

String Description { get; set; }

 

Property Description() As String

MajorVersion    (declared in PluginAttribute)

 

property MajorVersion: Int32 read write;

 

Int32 MajorVersion { get; set; }

 

Property MajorVersion() As Int32

MinorVersion    (declared in PluginAttribute)

 

property MinorVersion: Int32 read write;

 

Int32 MinorVersion { get; set; }

 

Property MinorVersion() As Int32

Name    (declared in PluginAttribute)

Gets or sets the name of the plugin.

 

property Name: String read write;

 

String Name { get; set; }

 

Property Name() As String

RequiredPrivilege    (declared in PluginAttribute)

 

property RequiredPrivilege: String read write;

 

String RequiredPrivilege { get; set; }

 

Property RequiredPrivilege() As String

UserData    (declared in PluginAttribute)

Gets or sets the user data.

 

property UserData: String read write;

 

String UserData { get; set; }

 

Property UserData() As String

 

constructor  protected

Creates a new instance of the class.

 

constructor

 

PluginTypeAttribute()

 

Sub New()