AddInController Class
Provides access to an add-in for a variety of tasks.
Assembly: System.AddIn (in System.AddIn.dll)
The AddInController type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AddInEnvironment | Gets an AddInEnvironment object. |
![]() | AppDomain | Gets the application domain that contains an add-in. |
![]() | Token | Gets the token that represents the add-in. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetAddInController | Obtains the controller for an add-in. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Shutdown | Disables an add-in. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Use this class to perform the following tasks:
Use the AddInEnvironment property to obtain an AddInEnvironment object for an add-in. Then use that object to activate other add-ins in the same application domain and process as the original add-in.
Use the AppDomain property to obtain an AppDomain object for an add-in. Then use that object to activate other add-ins in the same application domain as the original add-in. Note that because of limitations in cross-process remoting, this scenario will not work with add-ins that are activated in a separate process.
Use the Token property to obtain an AddInToken object that represents an add-in.
Shut down an add-in with the Shutdown method.
To obtain the controller for an add-in, call the GetAddInController method and pass an instance of the add-in as its parameter.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
