RegisterLoadKeyAttribute RegisterLoadKeyAttribute RegisterLoadKeyAttribute RegisterLoadKeyAttribute 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
RegisterLoadKeyAttributeRegisterLoadKeyAttributeRegisterLoadKeyAttributeRegisterLoadKeyAttributeRegisterLoadKeyAttribute
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) RegisterLoadKeyAttribute(String, String, String, String, Int16) RegisterLoadKeyAttribute(String, String, String, String, Int16) RegisterLoadKeyAttribute(String, String, String, String, Int16) RegisterLoadKeyAttribute(String, String, String, String, Int16)

Creates a new RegisterLoadKeyAttribute. This attribute has been deprecated.

Properties

CompanyName CompanyName CompanyName CompanyName CompanyName

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

MinimumEdition MinimumEdition MinimumEdition MinimumEdition MinimumEdition

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

ProductName ProductName ProductName ProductName ProductName

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

ProductVersion ProductVersion ProductVersion ProductVersion ProductVersion

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

ResourceId ResourceId ResourceId ResourceId ResourceId

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

TypeId TypeId TypeId TypeId TypeId

Gets the current instance of this attribute.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid)

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

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) 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) RegKeyName(RegistrationAttribute+RegistrationContext) RegKeyName(RegistrationAttribute+RegistrationContext) RegKeyName(RegistrationAttribute+RegistrationContext) RegKeyName(RegistrationAttribute+RegistrationContext)

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

Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) 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