AddInController.GetAddInController Method (Object)

 

Obtains the controller for an add-in.

Namespace:   System.AddIn.Hosting
Assembly:  System.AddIn (in System.AddIn.dll)

public static AddInController GetAddInController(
	object addIn
)

Parameters

addIn
Type: System.Object

The host view of the add-in.

Return Value

Type: System.AddIn.Hosting.AddInController

The controller for the add-in.

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

.NET Framework
Available since 3.5
Return to top
Show: