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 | |
|---|---|---|
| .gif) | Package | Initializes a new instance of Package. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | AddOptionKey | Adds a user option key name into the list of option keys. | 
| .gif) | CreateInstance | Creates the specified COM object using the Visual Studio's local registry CLSID object. | 
| .gif) | CreateTool | Enables derived classes to provide an implementation if necessary. | 
| .gif) | CreateToolWindow | Creates a tool window of the specified type with the specified ID. | 
| .gif) | Dispose | Releases the resources used by the Package object. | 
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | 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.) | 
| .gif) | FindToolWindow | Gets the tool window corresponding to the specified type and ID. | 
| .gif) | FindWindowPane | |
| .gif) | GetAutomationObject | Gets the automation object for the VSPackage. | 
| .gif) | GetDialogPage | Gets the requested dialog page. | 
| .gif) .gif) | GetGlobalService | 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. | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetOutputPane | Gets the requested output window. | 
| .gif) | GetProviderLocale | Returns the locale associated with this service provider. | 
| .gif) | GetService | Gets type-based services from the VSPackage service container. | 
| .gif) | GetToolboxItemData | |
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Initialize | Called when the VSPackage is loaded by Visual Studio. | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | OnLoadOptions | Invoked by the package class when there are options to be read out of the solution file. | 
| .gif) | OnSaveOptions | Invoked by the Package class when there are options to be saved to the solution file. | 
| .gif) | ParseToolboxResource(TextReader, Guid) | Parses an embedded text resource of appropriate format for information about which items should be added to the Toolbox. | 
| .gif) | ParseToolboxResource(TextReader, ResourceManager) | Parses an embedded text resource of appropriate format for information about which items should be added to the Toolbox. | 
| .gif) | QueryClose | Called to ask the package if the shell can be closed. | 
| .gif) | RegisterEditorFactory | Registers an editor factory with Visual Studio. | 
| .gif) | RegisterProjectFactory | Registers a project factory with Visual Studio. | 
| .gif) | ShowOptionPage | Displays a specified tools options page. | 
| .gif) | ToString | Returns a String that represents the current Object. (Inherited from Object.) | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | ApplicationRegistryRoot | Gets the root registry key of the current Visual Studio registry hive. | 
| .gif) | UserDataPath | Gets the path to user data storage for Visual Studio. | 
| .gif) | UserLocalDataPath | Gets the path to local user data storage for Visual Studio. | 
| .gif) | UserRegistryRoot | Gets a registry key that can be used to store user data. | 
| .gif) | Zombied | Gets a value indicating whether the package in the process of shutdown. | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | ToolboxInitialized | Event generated whenever Visual Studio initializes its Toolbox. | 
| .gif) | ToolboxUpgraded | Event generated whenever Visual Studio upgrades its Toolbox. | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IServiceContainer.AddService(Type, ServiceCreatorCallback) | Infrastructure. Adds the given service to the VSPackage's service container. | 
| .gif) .gif) | IServiceContainer.AddService(Type, Object) | Infrastructure. Adds the given service to the VSPackage's service container. | 
| .gif) .gif) | IServiceContainer.AddService(Type, ServiceCreatorCallback, Boolean) | Adds the given service to the service container by means of the specified ServiceCreatorCallback. | 
| .gif) .gif) | IServiceContainer.AddService(Type, Object, Boolean) | Infrastructure. Adds the given service to the VSPackage's service container. | 
| .gif) .gif) | IServiceProvider.GetService | Gets the service of the specified type. | 
| .gif) .gif) | IServiceContainer.RemoveService(Type) | Infrastructure. Removes the given service type from the service container. | 
| .gif) .gif) | IServiceContainer.RemoveService(Type, Boolean) | Infrastructure. Removes the given service type from the service container, and optionally promotes the removal of the service to parent service containers. | 
| .gif) .gif) | IOleCommandTarget.Exec | Executes a specified command or displays help for a command. | 
| .gif) .gif) | IOleCommandTarget.QueryStatus | Queries the object for the status of one or more commands generated by user interface events. | 
| .gif) .gif) | IServiceProvider.QueryService | Infrastructure. Internal IServiceProvider implementation. | 
| .gif) .gif) | IVsPackage.Close | Infrastructure. Closes and disposes the package. | 
| .gif) .gif) | IVsPackage.GetAutomationObject | Infrastructure. Gets an automation-friendly object for this package. | 
| .gif) .gif) | IVsPackage.GetPropertyPage | Infrastructure. Proffers access to the Tools menu Options and the property pages of the Customize Toolbox dialog boxes. | 
| .gif) .gif) | IVsPackage.QueryClose | Infrastructure. Called to ask the VSPackage if the Visual Studio shell can be closed. | 
| .gif) .gif) | IVsPackage.ResetDefaults | Infrastructure. Resets Toolbox defaults. | 
| .gif) .gif) | IVsPackage.SetSite | Infrastructure. Initializes the VSPackage in the Visual Studio environment. | 
| .gif) .gif) | IVsPersistSolutionOpts.LoadUserOptions | Infrastructure. Loads user options for a given solution. | 
| .gif) .gif) | IVsPersistSolutionOpts.ReadUserOptions | Infrastructure. Reads user options for a given solution. | 
| .gif) .gif) | IVsPersistSolutionOpts.SaveUserOptions | Infrastructure. Saves user options for a given solution. | 
| .gif) .gif) | IVsPersistSolutionOpts.WriteUserOptions | Infrastructure. Writes user options for a given solution. | 
| .gif) .gif) | IVsToolboxItemProvider.GetItemContent | |
| .gif) .gif) | IVsToolWindowFactory.CreateToolWindow | Infrastructure. Creates a tool window of the specified type with the specified ID. | 
| .gif) .gif) | IVsUserSettings.ExportSettings | Infrastructure. This method implements the IVsUserSettings Interface used to manage profiles and import/export settings to XML files. | 
| .gif) .gif) | 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. | 
| .gif) .gif) | IVsUserSettingsMigration.MigrateSettings | 
Top