ProvideProjectItemAttribute ProvideProjectItemAttribute ProvideProjectItemAttribute ProvideProjectItemAttribute ProvideProjectItemAttribute Class

Definition

This attribute registers items to be included in the Add New Item dialog for the specified project type. It is placed on a VSPackage.

public ref class ProvideProjectItemAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class ProvideProjectItemAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideProjectItemAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type ProvideProjectItemAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideProjectItemAttribute
Inherits RegistrationAttribute
Inheritance
ProvideProjectItemAttributeProvideProjectItemAttributeProvideProjectItemAttributeProvideProjectItemAttributeProvideProjectItemAttribute
Attributes

Constructors

ProvideProjectItemAttribute(Object, String, String, Int32) ProvideProjectItemAttribute(Object, String, String, Int32) ProvideProjectItemAttribute(Object, String, String, Int32) ProvideProjectItemAttribute(Object, String, String, Int32) ProvideProjectItemAttribute(Object, String, String, Int32)

Initializes a new instance of ProvideProjectItemAttribute for the item.

Properties

ItemType ItemType ItemType ItemType ItemType

Gets the name of this type of item.

Priority Priority Priority Priority Priority

Gets the sort priority of this type.

ProjectFactoryType ProjectFactoryType ProjectFactoryType ProjectFactoryType ProjectFactoryType

Gets the GUID of the type of project factory.

TemplateDir TemplateDir TemplateDir TemplateDir TemplateDir

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

TypeId TypeId TypeId TypeId TypeId

Gets the current instance of this attribute.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid)

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

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext)

Registers this item type.

Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext)

Removes the registry key for this item type.

Applies to