Share via


ExtensionPointRegistrationAttribute Class

Definition

Registers an extension point provider of the type specified by derived classes as ExtensionProviderType.

public ref class ExtensionPointRegistrationAttribute abstract : Microsoft::VisualStudio::Shell::RegistrationAttribute
public abstract class ExtensionPointRegistrationAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type ExtensionPointRegistrationAttribute = class
    inherit RegistrationAttribute
Public MustInherit Class ExtensionPointRegistrationAttribute
Inherits RegistrationAttribute
Inheritance
ExtensionPointRegistrationAttribute
Derived

Constructors

ExtensionPointRegistrationAttribute(Type, String)

When applied to a Package, registers the package as an Extension Point Provider for the specified type.

Properties

ExtensionProvidersKey

The path in registry where the extension providers are declared. Override in derived classes.

ExtensionProviderType

The type of the extension provider (the interface implemented)

Name

The human-readable name of the extension point provider This may be either a non-localized string or a decimal resource identifier prefixed by '@' indicating a managed resource. e.g. "@1234" The '#' prefix may be used to hint at a native resource.

Provider

The provider's GUID

ProviderGuidString

The provider's GUID expressed as a string

ProviderType

The type which implements the associated extension point in this package

TypeId

Override the TypeID property in order to let the RegistrationAttribute derived classes to work with System.ComponentModel.TypeDescriptor.GetAttributes(...). An attribute derived from this one will have to override this property only if it needs a better control on the instances that can be applied to a class.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Called to register this attribute with the given context. The context contains the location where the registration information should be placed. it also contains such as the type being registered, and path information.

Unregister(RegistrationAttribute+RegistrationContext)

Unregister this Extension point provider specification.

Applies to