Package Members
Include Protected Members
Include Inherited Members
Provides a managed implementation of the VSIP interfaces required to create a fully functional VSPackage.
The Package type exposes the following members.
Constructors
Name
Description
Initializes a new instance of Package.
Top
Methods
Name
Description
Adds a user option key name into the list of option keys.
Creates the specified COM object using the Visual Studio's local registry CLSID object.
Enables derived classes to provide an implementation if necessary.
Creates a tool window of the specified type with the specified ID.
Releases the resources used by the Package object.
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Gets the tool window corresponding to the specified type and ID.
Gets the automation object for the VSPackage.
Gets the requested dialog page.
Gets a service proffered globally by Visual Studio or one of its packages. This is the same as calling GetService() on an instance of a package that proffers no services itself.
Serves as a hash function for a particular type. (Inherited from Object.)
Gets the requested output window.
Returns the locale associated with this service provider.
Gets type-based services from the VSPackage service container.
Gets the type of the current instance. (Inherited from Object.)
Called when the VSPackage is loaded by Visual Studio.
Creates a shallow copy of the current Object. (Inherited from Object.)
Invoked by the package class when there are options to be read out of the solution file.
Invoked by the Package class when there are options to be saved to the solution file.
Overloaded. Parses a toolbox resource format and adds the toolbox items to the toolbox.
Called to ask the package if the shell can be closed.
Registers an editor factory with Visual Studio.
Registers a project factory with Visual Studio.
Displays a specified tools options page.
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets the root registry key of the current Visual Studio registry hive.
Gets the path to user data storage for Visual Studio.
Gets the path to local user data storage for Visual Studio.
Gets a registry key that can be used to store user data.
Gets a value indicating whether the package in the process of shutdown.
Top
Events
Name
Description
Event generated whenever Visual Studio initializes its Toolbox.
Event generated whenever Visual Studio upgrades its Toolbox.
Top
Explicit Interface Implementations
Name
Description
Overloaded.
Infrastructure. Closes and disposes the package.
IVsToolWindowFactory.CreateToolWindow
Infrastructure. Creates a tool window of the specified type with the specified ID.
Executes a specified command or displays help for a command.
IVsUserSettings.ExportSettings
Infrastructure. This method implements the IVsUserSettings Interface used to manage profiles and import/export settings to XML files.
IVsPackage.GetAutomationObject
Infrastructure. Gets an automation-friendly object for this package.
Infrastructure. Proffers access to the Tools menu Options and the property pages of the Customize Toolbox dialog boxes.
Gets the service of the specified type.
IVsUserSettings.ImportSettings
Infrastructure. Retrieves a VSPackage's configuration using the Visual Studio settings mechanism when a user selects the import option of the Import/Export Settings feature on the IDE’s Tools menu. This method is part of the implementation of the IVsUserSettings interface used to manage profiles and import/export settings to XML files.
IVsPersistSolutionOpts.LoadUserOptions
Infrastructure. Loads user options for a given solution.
IVsUserSettingsMigration.MigrateSettings
Infrastructure. Called to ask the VSPackage if the Visual Studio shell can be closed.
Infrastructure. Internal IServiceProvider implementation.
Queries the object for the status of one or more commands generated by user interface events.
IVsPersistSolutionOpts.ReadUserOptions
Infrastructure. Reads user options for a given solution.
Infrastructure. Overloaded.
Infrastructure. Resets Toolbox defaults.
IVsPersistSolutionOpts.SaveUserOptions
Infrastructure. Saves user options for a given solution.
Infrastructure. Initializes the VSPackage in the Visual Studio environment.
IVsPersistSolutionOpts.WriteUserOptions
Infrastructure. Writes user options for a given solution.
Top