ExtensionPointPackage Class
Represents an extended version of the Package base class that implements IVsPackageExtensionProvider.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Shell.Package
Microsoft.VisualStudio.Shell.ExtensionPointPackage
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
<ComVisibleAttribute(True)> _
Public MustInherit Class ExtensionPointPackage _
Inherits Package _
Implements IVsPackageExtensionProvider
[ComVisibleAttribute(true)]
public abstract class ExtensionPointPackage : Package,
IVsPackageExtensionProvider
The ExtensionPointPackage type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ExtensionPointPackage | Initializes a new instance of the ExtensionPointPackage class. |
Top
Properties
Name | Description | |
---|---|---|
ApplicationRegistryRoot | Gets the root registry key of the current Visual Studio registry hive. (Inherited from Package.) | |
UserDataPath | Gets the path to user data storage for Visual Studio. (Inherited from Package.) | |
UserLocalDataPath | Gets the path to local user data storage for Visual Studio. (Inherited from Package.) | |
UserRegistryRoot | Gets a registry key that can be used to store user data. (Inherited from Package.) | |
Zombied | Gets a value indicating whether the package in the process of shutdown. (Inherited from Package.) |
Top
Methods
Name | Description | |
---|---|---|
AddOptionKey | Adds a user option key name into the list of option keys. (Inherited from Package.) | |
CreateDiagnosticsProvider | Creates the diagnostics provider for the given registered provider GUID. | |
CreateExtensionPoint | Creates an extension point. | |
CreateExtensionPointProvider<TAttribute, TInterface> | Creates the extension provider declared with the attribute TAttribute on the package, implementing an extension point of type TInterface. | |
CreateInstance | Creates the specified COM object using the Visual Studio's local registry CLSID object. (Inherited from Package.) | |
CreateSearchProvider | Creates the global search provider for the given registered provider GUID. | |
CreateTool | Enables derived classes to provide an implementation if necessary. (Inherited from Package.) | |
CreateToolWindow | Creates a tool window of the specified type with the specified ID. (Inherited from Package.) | |
Dispose | Releases the resources used by the Package object. (Inherited from Package.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindToolWindow | Gets the tool window corresponding to the specified type and ID. (Inherited from Package.) | |
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. (Inherited from Package.) | |
GetAutomationObject | Gets the automation object for the VSPackage. (Inherited from Package.) | |
GetDialogPage | Gets the requested dialog page. (Inherited from Package.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetOutputPane | Gets the requested output window. (Inherited from Package.) | |
GetProviderLocale | Returns the locale associated with this service provider. (Inherited from Package.) | |
GetService | Gets type-based services from the VSPackage service container. (Inherited from Package.) | |
GetToolboxItemData | Gets the content of the data format for the specified toolbox item ID and data format. (Inherited from Package.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize | Called when the VSPackage is loaded by Visual Studio. (Inherited from Package.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnLoadOptions | Invoked by the package class when there are options to be read out of the solution file. (Inherited from Package.) | |
OnSaveOptions | Invoked by the Package class when there are options to be saved to the solution file. (Inherited from Package.) | |
ParseToolboxResource(TextReader, Guid) | Parses an embedded text resource of appropriate format for information about which items should be added to the Toolbox. (Inherited from Package.) | |
ParseToolboxResource(TextReader, ResourceManager) | Parses an embedded text resource of appropriate format for information about which items should be added to the Toolbox. (Inherited from Package.) | |
QueryClose | Called to ask the package if the shell can be closed. (Inherited from Package.) | |
RegisterEditorFactory | Registers an editor factory with Visual Studio. (Inherited from Package.) | |
RegisterProjectFactory | Registers a project factory with Visual Studio. (Inherited from Package.) | |
ShowOptionPage | Displays a specified tools options page. (Inherited from Package.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
ToolboxInitialized | Event generated whenever Visual Studio initializes its Toolbox. (Inherited from Package.) | |
ToolboxUpgraded | Event generated whenever Visual Studio upgrades its Toolbox. (Inherited from Package.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IServiceContainer.AddService(Type, ServiceCreatorCallback) | Infrastructure. Adds the given service to the VSPackage's service container. (Inherited from Package.) | |
IServiceContainer.AddService(Type, Object) | Infrastructure. Adds the given service to the VSPackage's service container. (Inherited from Package.) | |
IServiceContainer.AddService(Type, ServiceCreatorCallback, Boolean) | Adds the given service to the service container by means of the specified ServiceCreatorCallback. (Inherited from Package.) | |
IServiceContainer.AddService(Type, Object, Boolean) | Infrastructure. Adds the given service to the VSPackage's service container. (Inherited from Package.) | |
IServiceProvider.GetService | Gets the service of the specified type. (Inherited from Package.) | |
IServiceContainer.RemoveService(Type) | Infrastructure. Removes the given service type from the service container. (Inherited from Package.) | |
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. (Inherited from Package.) | |
IOleCommandTarget.Exec | Executes a specified command or displays help for a command. (Inherited from Package.) | |
IOleCommandTarget.QueryStatus | Queries the object for the status of one or more commands generated by user interface events. (Inherited from Package.) | |
IServiceProvider.QueryService | Infrastructure. Internal IServiceProvider implementation. (Inherited from Package.) | |
IVsPackage.Close | Infrastructure. Closes and disposes the package. (Inherited from Package.) | |
IVsPackage.GetAutomationObject | Infrastructure. Gets an automation-friendly object for this package. (Inherited from Package.) | |
IVsPackage.GetPropertyPage | Infrastructure. Proffers access to the Tools menu Options and the property pages of the Customize Toolbox dialog boxes. (Inherited from Package.) | |
IVsPackage.QueryClose | Infrastructure. Called to ask the VSPackage if the Visual Studio shell can be closed. (Inherited from Package.) | |
IVsPackage.ResetDefaults | Infrastructure. Resets Toolbox defaults. (Inherited from Package.) | |
IVsPackage.SetSite | Infrastructure. Initializes the VSPackage in the Visual Studio environment. (Inherited from Package.) | |
IVsPackageExtensionProvider.CreateExtensionInstance | Creates an instance of the requested extension. | |
IVsPersistSolutionOpts.LoadUserOptions | Infrastructure. Loads user options for a given solution. (Inherited from Package.) | |
IVsPersistSolutionOpts.ReadUserOptions | Infrastructure. Reads user options for a given solution. (Inherited from Package.) | |
IVsPersistSolutionOpts.SaveUserOptions | Infrastructure. Saves user options for a given solution. (Inherited from Package.) | |
IVsPersistSolutionOpts.WriteUserOptions | Infrastructure. Writes user options for a given solution. (Inherited from Package.) | |
IVsToolboxItemProvider.GetItemContent | Gets an item. (Inherited from Package.) | |
IVsToolWindowFactory.CreateToolWindow | Infrastructure. Creates a tool window of the specified type with the specified ID. (Inherited from Package.) | |
IVsUserSettings.ExportSettings | This method implements the IVsUserSettings Interface used to manage profiles and import/export settings to XML files. (Inherited from Package.) | |
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. (Inherited from Package.) | |
IVsUserSettingsMigration.MigrateSettings | Migrates settings from a previous version. (Inherited from Package.) | |
IVsUserSettingsQuery.NeedExport | (Inherited from Package.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.