Edit

Share via


AddInController.GetAddInController(Object) Method

Definition

Obtains the controller for an add-in.

public:
 static System::AddIn::Hosting::AddInController ^ GetAddInController(System::Object ^ addIn);
public static System.AddIn.Hosting.AddInController GetAddInController (object addIn);
static member GetAddInController : obj -> System.AddIn.Hosting.AddInController
Public Shared Function GetAddInController (addIn As Object) As AddInController

Parameters

addIn
Object

The host view of the add-in.

Returns

The controller for the add-in.

Remarks

The Activate methods return an object that represents the host's view of the add-in.

Applies to