RegisterProjectItemAttribute Class

Definition

Caution

RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead.

RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead

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
Inheritance
RegisterProjectItemAttribute
Attributes

Constructors

RegisterProjectItemAttribute(Object, String, String, Int32)

Initializes a new instance of RegisterProjectItemAttribute.

Properties

ItemType

String describing the item type. This string is used as the folder in the left side of the "Add New Items" dialog.

Priority

Gets the sort priority of this type.

ProjectFactoryType

Gets the GUID of the type of project factory.

TemplateDir

Gets the directory in which the templates for this project type are found.

TypeId

Gets the current instance of this attribute.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Registers this item type.

Unregister(RegistrationAttribute+RegistrationContext)

Unregister this editor.

Applies to