Occurs when a host item is activated.
Assembly: Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)
This event is raised when you double-click the host item node in Project Explorer, or when you right-click the host item node and then click View Designer.
The ActivateProjectHostItem event is not raised when you right-click the host item node and then click View Code.
ActivateProjectHostItem does not apply to project items that are not host items.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.