RegisterLoadKeyAttribute Klasa

Definicja

Przestroga

RegisterLoadKeyAttribute has been deprecated. Please use ProvideLoadKeyAttribute instead.

Ten atrybut rejestruje klucz ładowania pakietu dla pakietu. Ten atrybut został przestarzały.

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
Dziedziczenie
RegisterLoadKeyAttribute
Atrybuty

Uwagi

W przypadku pakietów VSPackage przeznaczonych dla programu Visual Studio 2008 i starszych należy użyć ProvideLoadKeyAttribute zamiast tego. Pakiety VSPackage przeznaczone dla programu Visual Studio 2010 nie wymagają tylko jednego atrybutu.

Konstruktory

RegisterLoadKeyAttribute(String, String, String, String, Int16)
Przestarzałe.

Tworzy nowy adres RegisterLoadKeyAttribute. Ten atrybut został przestarzały.

Właściwości

CompanyName
Przestarzałe.

Pobiera nazwę firmy. Ten atrybut został przestarzały.

MinimumEdition
Przestarzałe.

Pobiera minimalną wersję programu Visual Studio wymaganą do załadowania pakietu VSPackage. Ten atrybut został przestarzały.

ProductName
Przestarzałe.

Pobiera nazwę pakietu VSPackage. Ten atrybut został przestarzały.

ProductVersion
Przestarzałe.

Pobiera numer wersji pakietu VSPackage. Ten atrybut został przestarzały.

ResourceId
Przestarzałe.

Pobiera identyfikator zasobu klucza ładowania pakietu. Ten atrybut został przestarzały.

TypeId
Przestarzałe.

Zastąp właściwość TypeID, aby umożliwić klasom pochodnym RegistrationAttribute pracować z elementem System.ComponentModel.TypeDescriptor.GetAttributes(...). Atrybut pochodzący z tej właściwości będzie musiał zastąpić tę właściwość tylko wtedy, gdy potrzebuje lepszej kontroli nad wystąpieniami, które można zastosować do klasy.

(Odziedziczone po RegistrationAttribute)

Metody

GetPackageRegKeyPath(Guid)
Przestarzałe.

Pobiera ścieżkę rejestru (względem katalogu głównego rejestru aplikacji) pakietu VSPackage.

(Odziedziczone po RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)
Przestarzałe.

Zawiera informacje o rejestracji pakietu VSPackage, gdy jest wywoływane przez zewnętrzne narzędzie rejestracji, takie jak regpkg.exe. Ten atrybut został przestarzały.

RegKeyName(RegistrationAttribute+RegistrationContext)
Przestarzałe.

Nazwa klucza rejestru dla informacji o kluczu ładowania tego pakietu.

Unregister(RegistrationAttribute+RegistrationContext)
Przestarzałe.

Wyrejestrowuje informacje o kluczu ładowania tego pakietu

Dotyczy