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 |
已淘汰.
取得封裝載入金鑰的資源識別碼。 這個屬性已被取代。 |
TypeId |
已淘汰.
覆寫 TypeID 屬性,讓 RegistrationAttribute 衍生類別搭配 System.ComponentModel.TypeDescriptor.GetAttributes (...) 。衍生自這個屬性的屬性只有在需要對可套用至類別的實例有更好的控制權時,才必須覆寫此屬性。 (繼承來源 RegistrationAttribute) |
方法
GetPackageRegKeyPath(Guid) |
已淘汰.
取得相對於 VSPackage 之應用程式) 之登錄根目錄的登錄路徑 (。 (繼承來源 RegistrationAttribute) |
Register(RegistrationAttribute+RegistrationContext) |
已淘汰.
提供外部註冊工具呼叫 VSPackage 的註冊資訊,例如 regpkg.exe。 這個屬性已被取代。 |
RegKeyName(RegistrationAttribute+RegistrationContext) |
已淘汰.
此套件載入金鑰資訊的登錄機碼名稱。 |
Unregister(RegistrationAttribute+RegistrationContext) |
已淘汰.
取消註冊此套件的載入金鑰資訊 |