ProjectPackage.Initialize Method

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

See Also

Reference

ProjectPackage Class

ProjectPackage Members

Microsoft.VisualStudio.Package Namespace