RegisterProjectItemAttribute Sınıf

Tanım

Dikkat

RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead.

RegisterProjectItemAttribute kullanım dışı bırakıldı. Lütfen ProvideProjectItemAttribute bunun yerine kullanın

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
Devralma
RegisterProjectItemAttribute
Öznitelikler

Oluşturucular

RegisterProjectItemAttribute(Object, String, String, Int32)

Yeni bir örneğini başlatır RegisterProjectItemAttribute .

Özellikler

ItemType

Bu öğe türünün adını alır.

Priority

Bu türün sıralama önceliğini alır.

ProjectFactoryType

Proje fabrikası türünün GUID 'INI alır.

TemplateDir

Bu proje türü için şablonların bulunduğu dizini alır.

TypeId

Bu özniteliğin geçerli örneğini alır.

(Devralındığı yer: RegistrationAttribute)

Yöntemler

GetPackageRegKeyPath(Guid)

VSPackage 'ın (uygulamanın kayıt defteri köküne göre) kayıt defteri yolunu alır.

(Devralındığı yer: RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Bu öğe türünü kaydeder.

Unregister(RegistrationAttribute+RegistrationContext)

Bu öğe türü için kayıt defteri anahtarını kaldırır.

Şunlara uygulanır