RegisterProjectItemAttribute Třída

Definice

Upozornění

RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead.

RegisterProjectItemAttribute byla zastaralá. Použijte ProvideProjectItemAttribute prosím místo toho

public ref class RegisterProjectItemAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class RegisterProjectItemAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
[System.Obsolete("RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead.")]
public sealed class RegisterProjectItemAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
[<System.Obsolete("RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead.")>]
type RegisterProjectItemAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class RegisterProjectItemAttribute
Inherits RegistrationAttribute
Dědičnost
RegisterProjectItemAttribute
Atributy

Konstruktory

RegisterProjectItemAttribute(Object, String, String, Int32)
Zastaralé.

Inicializuje novou instanci objektu RegisterProjectItemAttribute.

Vlastnosti

ItemType
Zastaralé.

Řetězec popisující typ položky. Tento řetězec se používá jako složka na levé straně dialogového okna Přidat nové položky.

Priority
Zastaralé.

Získá prioritu řazení tohoto typu.

ProjectFactoryType
Zastaralé.

Získá identifikátor GUID typu objektu pro vytváření projektů.

TemplateDir
Zastaralé.

Získá adresář, ve kterém jsou nalezeny šablony pro tento typ projektu.

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

Zaregistruje tento typ položky.

Unregister(RegistrationAttribute+RegistrationContext)
Zastaralé.

Zrušte registraci tohoto editoru.

Platí pro