RegisterExtenderAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
RegisterExtenderAttribute has been deprecated. Please use ProvideExtenderAttribute instead.
This attribute registers the package as an extender. The GUID passed in determines what is being extended. The attributes on a package do not control the behavior of the package, but they can be used by registration tools to register the proper information with Visual Studio.
public ref class RegisterExtenderAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class RegisterExtenderAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
[System.Obsolete("RegisterExtenderAttribute has been deprecated. Please use ProvideExtenderAttribute instead.")]
public sealed class RegisterExtenderAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
[<System.Obsolete("RegisterExtenderAttribute has been deprecated. Please use ProvideExtenderAttribute instead.")>]
type RegisterExtenderAttribute = class
inherit RegistrationAttribute
Public NotInheritable Class RegisterExtenderAttribute
Inherits RegistrationAttribute
- Inheritance
- Attributes
Constructors
RegisterExtenderAttribute(String, String, String) |
Creates a new RegisterExtenderAttribute. |
Properties
ExtendeeCatId |
The CatID of the element being extended. |
Extender |
The Guid of the extender. |
ExtenderName |
The name of the extender. |
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 Extender specification. |