Partilhar via


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
Protected method ExtensionPointPackage Initializes a new instance of the ExtensionPointPackage class.

Top

Properties

  Name Description
Public property ApplicationRegistryRoot Gets the root registry key of the current Visual Studio registry hive. (Inherited from Package.)
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

Methods

  Name Description
Protected method AddOptionKey Adds a user option key name into the list of option keys. (Inherited from Package.)
Protected method CreateDiagnosticsProvider Creates the diagnostics provider for the given registered provider GUID.
Protected method CreateExtensionPoint Creates an extension point.
Protected method CreateExtensionPointProvider<TAttribute, TInterface> Creates the extension provider declared with the attribute TAttribute on the package, implementing an extension point of type TInterface.
Public method CreateInstance Creates the specified COM object using the Visual Studio's local registry CLSID object. (Inherited from Package.)
Protected method CreateSearchProvider Creates the global search provider for the given registered provider GUID.
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 Releases the resources used by the Package object. (Inherited from Package.)
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. (Inherited from Package.)
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. (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 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.)
Protected method GetToolboxItemData Gets the content of the data format for the specified toolbox item ID and data format. (Inherited from Package.)
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. (Inherited from Package.)
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. (Inherited from Package.)
Protected method OnSaveOptions Invoked by the Package class when there are options to be saved to the solution file. (Inherited from Package.)
Protected method 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.)
Protected method 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.)
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 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

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(Type, ServiceCreatorCallback) Infrastructure. Adds the given service to the VSPackage's service container. (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceContainer.AddService(Type, Object) Infrastructure. Adds the given service to the VSPackage's service container. (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceContainer.AddService(Type, ServiceCreatorCallback, Boolean) Adds the given service to the service container by means of the specified ServiceCreatorCallback. (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceContainer.AddService(Type, Object, Boolean) Infrastructure. Adds the given service to the VSPackage's service container. (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceProvider.GetService Gets the service of the specified type. (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceContainer.RemoveService(Type) Infrastructure. Removes the given service type from the service container. (Inherited from Package.)
Explicit interface implemetationPrivate 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. (Inherited from Package.)
Explicit interface implemetationPrivate method IOleCommandTarget.Exec Executes a specified command or displays help for a command. (Inherited from Package.)
Explicit interface implemetationPrivate method IOleCommandTarget.QueryStatus Queries the object for the status of one or more commands generated by user interface events. (Inherited from Package.)
Explicit interface implemetationPrivate method IServiceProvider.QueryService Infrastructure. Internal IServiceProvider implementation. (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.Close Infrastructure. Closes and disposes the package. (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.GetAutomationObject Infrastructure. Gets an automation-friendly object for this package. (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.GetPropertyPage Infrastructure. Proffers access to the Tools menu Options and the property pages of the Customize Toolbox dialog boxes. (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.QueryClose Infrastructure. Called to ask the VSPackage if the Visual Studio shell can be closed. (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.ResetDefaults Infrastructure. Resets Toolbox defaults. (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackage.SetSite Infrastructure. Initializes the VSPackage in the Visual Studio environment. (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPackageExtensionProvider.CreateExtensionInstance Creates an instance of the requested extension.
Explicit interface implemetationPrivate method IVsPersistSolutionOpts.LoadUserOptions Infrastructure. Loads user options for a given solution. (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPersistSolutionOpts.ReadUserOptions Infrastructure. Reads user options for a given solution. (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPersistSolutionOpts.SaveUserOptions Infrastructure. Saves user options for a given solution. (Inherited from Package.)
Explicit interface implemetationPrivate method IVsPersistSolutionOpts.WriteUserOptions Infrastructure. Writes user options for a given solution. (Inherited from Package.)
Explicit interface implemetationPrivate method IVsToolboxItemProvider.GetItemContent Gets an item. (Inherited from Package.)
Explicit interface implemetationPrivate method IVsToolWindowFactory.CreateToolWindow Infrastructure. Creates a tool window of the specified type with the specified ID. (Inherited from Package.)
Explicit interface implemetationPrivate method IVsUserSettings.ExportSettings This method implements the IVsUserSettings Interface used to manage profiles and import/export settings to XML files. (Inherited from Package.)
Explicit interface implemetationPrivate 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. (Inherited from Package.)
Explicit interface implemetationPrivate method IVsUserSettingsMigration.MigrateSettings Migrates settings from a previous version. (Inherited from Package.)
Explicit interface implemetationPrivate method 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.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace