Expand Minimize

Package Methods

The Package type exposes the following members.

  Name Description
Protected method AddOptionKey Adds a user option key name into the list of option keys.
Public method CreateInstance Creates the specified COM object using the Visual Studio's local registry CLSID object.
Public method CreateTool Enables derived classes to provide an implementation if necessary.
Protected method CreateToolWindow(Type, Int32) Creates a tool window of the specified type with the specified ID.
Protected method CreateToolWindow(Guid, Int32) Creates a tool window of the specified type with the specified ID.
Protected method CreateToolWindow(Type, Int32, UInt32) Creates a tool window of the specified type with the specified ID.
Protected method Dispose Releases the resources used by the Package object.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindToolWindow Gets the tool window corresponding to the specified type and ID.
Public method FindWindowPane Gets the window pane corresponding to the specified type and ID, and if no window pane of that type exists creates one if told to do so.
Protected method GetAutomationObject Gets the automation object for the VSPackage.
Protected method GetDialogPage Gets the requested dialog page.
Public method Static member 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.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetOutputPane Gets the requested output window.
Public method GetProviderLocale Returns the locale associated with this service provider.
Protected method GetService Gets type-based services from the VSPackage service container.
Protected method GetToolboxItemData Gets the content of the data format for the specified toolbox item ID and data format.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Initialize Called when the VSPackage is loaded by Visual Studio.
Protected method InstantiateToolWindow
Protected method IsLocalService Determines whether the specified service type can be retrieved without requiring an RPC transition to the UI thread.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnLoadOptions Invoked by the package class when there are options to be read out of the solution file.
Protected method OnSaveOptions Invoked by the Package class when there are options to be saved to the solution file.
Protected method ParseToolboxResource(TextReader, Guid) Parses an embedded text resource of appropriate format for information about which items should be added to the Toolbox.
Protected method ParseToolboxResource(TextReader, ResourceManager) Parses an embedded text resource of appropriate format for information about which items should be added to the Toolbox.
Protected method QueryClose Called to ask the package if the shell can be closed.
Protected method RegisterEditorFactory Registers an editor factory with Visual Studio.
Protected method RegisterProjectFactory Registers a project factory with Visual Studio.
Public method ShowOptionPage Displays a specified tools options page.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Public Extension Method QueryService(Guid) Overloaded. Gets a service exposed by a service provider based on its service type. (Defined by PackageUtilities.)
Public Extension Method QueryService<TService>() Overloaded. Gets a service exposed by a service provider based on its service type. (Defined by PackageUtilities.)
Top

  Name Description
Explicit interface implemetation Private method IServiceContainer.AddService(Type, ServiceCreatorCallback) Infrastructure. Adds the given service to the VSPackage's service container.
Explicit interface implemetation Private method IServiceContainer.AddService(Type, Object) Infrastructure. Adds the given service to the VSPackage's service container.
Explicit interface implemetation Private method IServiceContainer.AddService(Type, ServiceCreatorCallback, Boolean) Adds the given service to the service container by means of the specified ServiceCreatorCallback.
Explicit interface implemetation Private method IServiceContainer.AddService(Type, Object, Boolean) Infrastructure. Adds the given service to the VSPackage's service container.
Explicit interface implemetation Private method IServiceProvider.GetService Gets the service of the specified type.
Explicit interface implemetation Private method IServiceContainer.RemoveService(Type) Infrastructure. Removes the given service type from the service container.
Explicit interface implemetation Private method 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.
Explicit interface implemetation Private method IOleCommandTarget.Exec Executes a specified command or displays help for a command.
Explicit interface implemetation Private method IOleCommandTarget.QueryStatus Queries the object for the status of one or more commands generated by user interface events.
Explicit interface implemetation Private method IServiceProvider.QueryService Infrastructure. Internal IServiceProvider implementation.
Explicit interface implemetation Private method IVsPackage.Close Infrastructure. Closes and disposes the package.
Explicit interface implemetation Private method IVsPackage.GetAutomationObject Infrastructure. Gets an automation-friendly object for this package.
Explicit interface implemetation Private method IVsPackage.GetPropertyPage Infrastructure. Proffers access to the Tools menu Options and the property pages of the Customize Toolbox dialog boxes.
Explicit interface implemetation Private method IVsPackage.QueryClose Infrastructure. Called to ask the VSPackage if the Visual Studio shell can be closed.
Explicit interface implemetation Private method IVsPackage.ResetDefaults Infrastructure. Resets Toolbox defaults.
Explicit interface implemetation Private method IVsPackage.SetSite Infrastructure. Initializes the VSPackage in the Visual Studio environment.
Explicit interface implemetation Private method IVsPersistSolutionOpts.LoadUserOptions Infrastructure. Loads user options for a given solution.
Explicit interface implemetation Private method IVsPersistSolutionOpts.ReadUserOptions Infrastructure. Reads user options for a given solution.
Explicit interface implemetation Private method IVsPersistSolutionOpts.SaveUserOptions Infrastructure. Saves user options for a given solution.
Explicit interface implemetation Private method IVsPersistSolutionOpts.WriteUserOptions Infrastructure. Writes user options for a given solution.
Explicit interface implemetation Private method IVsToolboxItemProvider.GetItemContent Gets an item.
Explicit interface implemetation Private method IVsToolWindowFactory.CreateToolWindow Infrastructure. Creates a tool window of the specified type with the specified ID.
Explicit interface implemetation Private method IVsUserSettings.ExportSettings This method implements the IVsUserSettings Interface used to manage profiles and import/export settings to XML files.
Explicit interface implemetation Private method IVsUserSettings.ImportSettings 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.
Explicit interface implemetation Private method IVsUserSettingsMigration.MigrateSettings Migrates settings from a previous version.
Explicit interface implemetation Private method IVsUserSettingsQuery.NeedExport Determines whether settings have changed and should be re-exported.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft