RegisterExtenderAttribute Třída

Definice

Upozornění

RegisterExtenderAttribute has been deprecated. Please use ProvideExtenderAttribute instead.

Tento atribut zaregistruje balíček jako extender. Identifikátor GUID předaný v určuje, co se rozšiřuje. Atributy v balíčku neřídí chování balíčku, ale mohou být použity registračními nástroji k registraci správných informací v sadě 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
Dědičnost
RegisterExtenderAttribute
Atributy

Konstruktory

RegisterExtenderAttribute(String, String, String)
Zastaralé.

Vytvoří nový RegisterExtenderAttribute.

Vlastnosti

ExtendeeCatId
Zastaralé.

CatID rozšířeného prvku.

Extender
Zastaralé.

Identifikátor GUID extenderu.

ExtenderName
Zastaralé.

Název extenderu.

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é.

Volá se pro registraci tohoto atributu v daném kontextu. Kontext obsahuje umístění, kam se mají umístit informace o registraci. obsahuje také například zaregistrovaný typ a informace o cestě.

Unregister(RegistrationAttribute+RegistrationContext)
Zastaralé.

Zrušte registraci této specifikace extenderu.

Platí pro