Redigera

Dela via


AddInEnvironment.Process Property

Definition

Gets the AddInProcess object that represents the process in which the add-in is running.

public:
 property System::AddIn::Hosting::AddInProcess ^ Process { System::AddIn::Hosting::AddInProcess ^ get(); };
public System.AddIn.Hosting.AddInProcess Process { get; }
member this.Process : System.AddIn.Hosting.AddInProcess
Public ReadOnly Property Process As AddInProcess

Property Value

The process in which the add-in is running.

Remarks

You can use this property to activate multiple add-ins in the same process but in different domains.

Pass the AddInProcess object obtained with this property to the appropriate Activate method overload.

If you want to activate them in the same domain in an external process you should pass the AddInEnvironment object directly to the AddInToken.Activate<T>(AddInEnvironment) method overload.

Applies to