Sdílet prostřednictvím


RegisterLoadKeyAttribute Třída

Definice

Upozornění

RegisterLoadKeyAttribute has been deprecated. Please use ProvideLoadKeyAttribute instead.

Tento atribut zaregistruje klíč načtení balíčku pro váš balíček. Tento atribut je zastaralý.

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
Dědičnost
RegisterLoadKeyAttribute
Atributy

Poznámky

Pro balíčky VSPackage, které cílí na Visual Studio 2008 a starší, použijte ProvideLoadKeyAttribute místo toho. Balíčky VSPackage, které cílí pouze na Visual Studio 2010, nepotřebují ani jeden atribut.

Konstruktory

RegisterLoadKeyAttribute(String, String, String, String, Int16)
Zastaralé.

Vytvoří nový objekt RegisterLoadKeyAttribute. Tento atribut je zastaralý.

Vlastnosti

CompanyName
Zastaralé.

Získá název vaší společnosti. Tento atribut je zastaralý.

MinimumEdition
Zastaralé.

Získá minimální edici sady Visual Studio potřebnou k načtení balíčku VSPackage. Tento atribut je zastaralý.

ProductName
Zastaralé.

Získá název vašeho balíčku VSPackage. Tento atribut je zastaralý.

ProductVersion
Zastaralé.

Získá číslo verze balíčku VSPackage. Tento atribut je zastaralý.

ResourceId
Zastaralé.

Získá ID prostředku pro klíč načtení balíčku. Tento atribut je zastaralý.

TypeId
Zastaralé.

Přepište vlastnost TypeID, aby mohly odvozené třídy RegistrationAttribute pracovat s System.ComponentModel.TypeDescriptor.GetAttributes(...). Atribut odvozený z tohoto bude muset přepsat tuto vlastnost pouze v případě, že potřebuje lepší kontrolu nad instancemi, které lze použít na třídu.

(Zděděno od RegistrationAttribute)

Metody

GetPackageRegKeyPath(Guid)
Zastaralé.

Získá cestu registru (vzhledem k kořenovému adresáři registru aplikace) VSPackage.

(Zděděno od RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)
Zastaralé.

Poskytuje informace o registraci balíčku VSPackage při zavolání externím registračním nástrojem, jako je například regpkg.exe. Tento atribut je zastaralý.

RegKeyName(RegistrationAttribute+RegistrationContext)
Zastaralé.

Název klíče registru pro informace o klíči načtení tohoto balíčku.

Unregister(RegistrationAttribute+RegistrationContext)
Zastaralé.

Zruší registraci informací o klíči načítání tohoto balíčku.

Platí pro