RegisterLoadKeyAttribute Class

Definition

Caution

RegisterLoadKeyAttribute has been deprecated. Please use ProvideLoadKeyAttribute instead.

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
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
[<System.Obsolete("RegisterLoadKeyAttribute has been deprecated. Please use ProvideLoadKeyAttribute instead.")>]
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

Gets the current instance of this attribute.

(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)

Registry Key name for this package's load key information.

Unregister(RegistrationAttribute+RegistrationContext)

Unregisters this package's load key information

Applies to