ProjectPackage Members

The base class for project packages. Handles solution listeners.

The ProjectPackage type exposes the following members.

Constructors

  Name Description
Protected method ProjectPackage Initializes a new instance of the derived class when overridden in a derived class.

Top

Methods

  Name Description
Protected method AddOptionKey Adds a user option key name into the list of option keys. (Inherited from Package.)
Public method CreateInstance Creates the specified COM object using the Visual Studio's local registry CLSID object. (Inherited from Package.)
Public method CreateTool Enables derived classes to provide an implementation if necessary. (Inherited from Package.)
Protected method CreateToolWindow Creates a tool window of the specified type with the specified ID. (Inherited from Package.)
Protected method Dispose Calls [M:Microsoft.VisualStudio.Package.SolutionListener.Dispose()] on each of the solution listeners in the SolutionListeners list. (Overrides Package.Dispose(Boolean).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method FindToolWindow Gets the tool window corresponding to the specified type and ID. (Inherited from Package.)
Protected method GetAutomationObject Gets the automation object for the VSPackage. (Inherited from Package.)
Protected method GetDialogPage Gets the requested dialog page. (Inherited from Package.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetOutputPane Gets the requested output window. (Inherited from Package.)
Public method GetProjectTrustLevel
Public method GetProviderLocale Returns the locale associated with this service provider. (Inherited from Package.)
Protected method GetService Gets type-based services from the VSPackage service container. (Inherited from Package.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Initialize Adds the solution listeners to the SolutionListeners list. (Overrides Package.Initialize().)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnLoadOptions (Overrides Package.OnLoadOptions(String, Stream).)
Protected method OnSaveOptions (Overrides Package.OnSaveOptions(String, Stream).)
Protected method ParseToolboxResource Overloaded.
Protected method QueryClose Called to ask the package if the shell can be closed. (Inherited from Package.)
Protected method RegisterEditorFactory Registers an editor factory with Visual Studio. (Inherited from Package.)
Protected method RegisterProjectFactory Registers a project factory with Visual Studio. (Inherited from Package.)
Public method SetProjectTrustLevel
Public method ShowOptionPage Displays a specified tools options page. (Inherited from Package.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property ApplicationRegistryRoot Gets the root registry key of the current Visual Studio registry hive. (Inherited from Package.)
Protected property SolutionListeners Gets a list of solution listeners for this project.
Public property UserDataPath Gets the path to user data storage for Visual Studio. (Inherited from Package.)
Public property UserLocalDataPath Gets the path to local user data storage for Visual Studio. (Inherited from Package.)
Public property UserRegistryRoot Gets a registry key that can be used to store user data. (Inherited from Package.)
Public property Zombied Gets a value indicating whether the package in the process of shutdown. (Inherited from Package.)

Top

Events

  Name Description
Protected event ToolboxInitialized Event generated whenever Visual Studio initializes its Toolbox. (Inherited from Package.)
Protected event ToolboxUpgraded Event generated whenever Visual Studio upgrades its Toolbox. (Inherited from Package.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IServiceContainer.AddService (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceContainer.AddService (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceContainer.AddService (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceContainer.AddService (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.Close (Inherited from Package.)
Explicit interface implemetationPrivate method IVsToolWindowFactory.CreateToolWindow (Inherited from Package.)
Explicit interface implemetationPrivate method IOleCommandTarget.Exec (Inherited from Package.)
Explicit interface implemetationPrivate method IVsUserSettings.ExportSettings (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.GetAutomationObject (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.GetPropertyPage (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceProvider.GetService (Inherited from Package.)
Explicit interface implemetationPrivate method IVsUserSettings.ImportSettings (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPersistSolutionOpts.LoadUserOptions (Inherited from Package.)
Explicit interface implemetationPrivate method Microsoft#VisualStudio#Shell#Interop#IVsUserSettingsMigration#MigrateSettings (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.QueryClose (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceProvider.QueryService (Inherited from Package.)
Explicit interface implemetationPrivate method IOleCommandTarget.QueryStatus (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPersistSolutionOpts.ReadUserOptions (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceContainer.RemoveService (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceContainer.RemoveService (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.ResetDefaults (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPersistSolutionOpts.SaveUserOptions (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.SetSite (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPersistSolutionOpts.WriteUserOptions (Inherited from Package.)

Top

See Also

Reference

ProjectPackage Class

Microsoft.VisualStudio.Package Namespace