RegisterLoadKeyAttribute 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
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
- 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) |
Registry Key name for this package's load key information. |
Unregister(RegistrationAttribute+RegistrationContext) |
Unregisters this package's load key information |