Adds the solution listeners to the SolutionListeners list.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Overrides Sub Initialize
'使用
Me.Initialize()
protected override void Initialize()
protected:
virtual void Initialize() override
protected override function Initialize()
Remarks
Implementers should override this method by adding their own solution listeners to the list, then calling the base method. The default implementation subscribes to project reference update, project open, build dependency update. Other project-related events are supported. All of the IVsSolutionEvents3 and IVsSolutionEvents4 events are supported.
Permissions
- 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.