RegisterLoadKeyAttribute Class

Definition

Warning

This API is now obsolete.

This attribute registers a package load key for your package. This attribute has been deprecated.

public ref class RegisterLoadKeyAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class RegisterLoadKeyAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
[System.Obsolete("RegisterLoadKeyAttribute has been deprecated. Please use ProvideLoadKeyAttribute instead.")]
public sealed class RegisterLoadKeyAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type RegisterLoadKeyAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class RegisterLoadKeyAttribute
Inherits RegistrationAttribute
Inheritance
RegisterLoadKeyAttribute
Attributes

Remarks

For VSPackages that target Visual Studio 2008 and earlier, please use ProvideLoadKeyAttribute instead. VSPackages that target Visual Studio 2010 only do not need either attribute.

Constructors

RegisterLoadKeyAttribute(String, String, String, String, Int16)

Creates a new RegisterLoadKeyAttribute. This attribute has been deprecated.

Properties

CompanyName

Gets the name of your company. This attribute has been deprecated.

MinimumEdition

Gets the minimum edition of Visual Studio needed to load your VSPackage. This attribute has been deprecated.

ProductName

Gets the name of your VSPackage. This attribute has been deprecated.

ProductVersion

Gets the version number of your VSPackage. This attribute has been deprecated.

ResourceId

Gets the resource ID for the Package Load Key. This attribute has been deprecated.

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)

Provides registration information about a VSPackage when called by an external registration tool such as regpkg.exe. This attribute has been deprecated.

RegKeyName(RegistrationAttribute+RegistrationContext)

Gets the registry key name for the load key information of the VSPackage. This attribute has been deprecated.

Unregister(RegistrationAttribute+RegistrationContext)

Removes the registration information about a VSPackage when called by an external registration tool such as regpkg.exe. This attribute has been deprecated.

Applies to