RegisterProjectItemAttribute Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przestroga
RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead.
RegisterProjectItemAttribute Zdeprecjonowana. Użyj ProvideProjectItemAttribute zamiast tego
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
- Dziedziczenie
- Atrybuty
Konstruktory
RegisterProjectItemAttribute(Object, String, String, Int32) |
Przestarzałe.
Inicjuje nowe wystąpienie klasy RegisterProjectItemAttribute. |
Właściwości
ItemType |
Przestarzałe.
Ciąg opisujący typ elementu. Ten ciąg jest używany jako folder po lewej stronie okna dialogowego "Dodaj nowe elementy". |
Priority |
Przestarzałe.
Pobiera priorytet sortowania tego typu. |
ProjectFactoryType |
Przestarzałe.
Pobiera identyfikator GUID typu fabryki projektów. |
TemplateDir |
Przestarzałe.
Pobiera katalog, w którym znajdują się szablony dla tego typu projektu. |
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.
Rejestruje ten typ elementu. |
Unregister(RegistrationAttribute+RegistrationContext) |
Przestarzałe.
Wyrejestruj ten edytor. |