RegisterLoadKeyAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
RegisterLoadKeyAttribute has been deprecated. Please use ProvideLoadKeyAttribute instead.
此属性为包注册包加载密钥。 此特性已弃用。
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
- 继承
- 属性
注解
对于面向 Visual Studio 2008 及更早版本的 VSPackage,请改用 ProvideLoadKeyAttribute 。 仅面向 Visual Studio 2010 的 VSPackage 不需要任一属性。
构造函数
RegisterLoadKeyAttribute(String, String, String, String, Int16) |
已过时.
创建一个新的 RegisterLoadKeyAttribute。 此特性已弃用。 |
属性
CompanyName |
已过时.
获取公司的名称。 此特性已弃用。 |
MinimumEdition |
已过时.
获取加载 VSPackage 所需的 Visual Studio 的最低版本。 此特性已弃用。 |
ProductName |
已过时.
获取 VSPackage 的名称。 此特性已弃用。 |
ProductVersion |
已过时.
获取 VSPackage 的版本号。 此特性已弃用。 |
ResourceId |
已过时.
获取包加载密钥的资源 ID。 此特性已弃用。 |
TypeId |
已过时.
重写 TypeID 属性,使 RegistrationAttribute 派生类能够与 System.ComponentModel.TypeDescriptor.GetAttributes 一起使用 (...) 。仅当派生自此属性的属性需要对可应用于类的实例使用更好的控件时,它才必须重写此属性。 (继承自 RegistrationAttribute) |
方法
GetPackageRegKeyPath(Guid) |
已过时.
获取相对于 VSPackage 的应用程序) 注册表根目录 (注册表路径。 (继承自 RegistrationAttribute) |
Register(RegistrationAttribute+RegistrationContext) |
已过时.
在外部注册工具(如 regpkg.exe)调用时提供有关 VSPackage 的注册信息。 此特性已弃用。 |
RegKeyName(RegistrationAttribute+RegistrationContext) |
已过时.
此包的加载密钥信息的注册表项名称。 |
Unregister(RegistrationAttribute+RegistrationContext) |
已过时.
注销此包的加载密钥信息 |