AddInToken::Activate<T> Method (AddInEnvironment)
Activates an add-in in the environment of another add-in.
Assembly: System.AddIn (in System.AddIn.dll)
The interface or abstract base type that represents the host view of the add-in.
- Type: System.AddIn.Hosting::AddInEnvironment
The application domain and process that contains the original add-in.
The host view of the add-in.
The following example activates one add-in in an automatically generated application domain with a specified security level. It then activates a second add-in in the same application domain and process as the first by using the first add-in's AddInEnvironment object.