RegisterProjectItemAttribute RegisterProjectItemAttribute RegisterProjectItemAttribute RegisterProjectItemAttribute RegisterProjectItemAttribute Class

Definition

Warning

This API is now obsolete.

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
type RegisterProjectItemAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class RegisterProjectItemAttribute
Inherits RegistrationAttribute
Inheritance
RegisterProjectItemAttributeRegisterProjectItemAttributeRegisterProjectItemAttributeRegisterProjectItemAttributeRegisterProjectItemAttribute
Attributes

Constructors

RegisterProjectItemAttribute(Object, String, String, Int32) RegisterProjectItemAttribute(Object, String, String, Int32) RegisterProjectItemAttribute(Object, String, String, Int32) RegisterProjectItemAttribute(Object, String, String, Int32) RegisterProjectItemAttribute(Object, String, String, Int32)

Initializes a new instance of RegisterProjectItemAttribute.

Properties

ItemType ItemType ItemType ItemType ItemType

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

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)

Unregister this editor.

Applies to