RegisterExtenderAttribute Klasa

Definicja

Przestroga

RegisterExtenderAttribute has been deprecated. Please use ProvideExtenderAttribute instead.

Ten atrybut rejestruje pakiet jako rozszerzenie. Przekazany identyfikator GUID określa, co jest rozszerzane. Atrybuty pakietu nie kontrolują zachowania pakietu, ale mogą być używane przez narzędzia rejestracji do rejestrowania odpowiednich informacji w programie Visual Studio.

public ref class RegisterExtenderAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class RegisterExtenderAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
[System.Obsolete("RegisterExtenderAttribute has been deprecated. Please use ProvideExtenderAttribute instead.")]
public sealed class RegisterExtenderAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
[<System.Obsolete("RegisterExtenderAttribute has been deprecated. Please use ProvideExtenderAttribute instead.")>]
type RegisterExtenderAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class RegisterExtenderAttribute
Inherits RegistrationAttribute
Dziedziczenie
RegisterExtenderAttribute
Atrybuty

Konstruktory

RegisterExtenderAttribute(String, String, String)
Przestarzałe.

Tworzy nowy element RegisterExtenderAttribute.

Właściwości

ExtendeeCatId
Przestarzałe.

Identyfikator CatID rozszerzonego elementu.

Extender
Przestarzałe.

Identyfikator GUID rozszerzenia.

ExtenderName
Przestarzałe.

Nazwa rozszerzenia.

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.

Wywoływana w celu zarejestrowania tego atrybutu w danym kontekście. Kontekst zawiera lokalizację, w której należy umieścić informacje o rejestracji. zawiera również informacje o typie, który jest zarejestrowany, oraz informacje o ścieżce.

Unregister(RegistrationAttribute+RegistrationContext)
Przestarzałe.

Wyrejestruj tę specyfikację rozszerzenia.

Dotyczy