ProvideProjectFactoryAttribute Class

Definition

ProvideProjectFactoryAttribute declares that a package provides a project factory.

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

Remarks

A single VSPackage can provide multiple project factories. If a VSPackage declares that it provides a project factory, it should create the factory and offer it to Visual Studio in the Initialize method of the Package-derived class.

Constructors

ProvideProjectFactoryAttribute(Type, String, String, String, String, String)

Initializes a new instance of ProvideProjectFactoryAttribute.

Properties

DefaultProjectExtension

Gets the default extension of the project file.

DisableOnlineTemplates

Determines whether to disable online templates.

DisplayProjectFileExtensions

Gets the resource ID for project file extensions.

DisplayProjectTypeVsTemplate

Gets or sets the Visual Studio template for the project.

FactoryType

Gets the type of the project factory.

FolderGuid

Get or Set the Folder guid. This can be used to control where the project node appear in the New Project dialog

LanguageVsTemplate

Gets and sets the Visual Studio language template.

Name

The tree node name in the create new project and add new item dialogs. Take precendence over the nameResourceID value

NewProjectRequireNewFolderVsTemplate

Gets or sets whether this type of project requires a Visual Studio template that creates a new folder.

PossibleProjectExtensions

Gets the set of possible project extensions.

ProjectSubTypeVsTemplate

Gets or sets the Visual Studio template for the project subtype.

ProjectTemplatesDirectory

Gets the project templates directory.

ShowOnlySpecifiedTemplatesVsTemplate

Gets or sets the Visual Studio template to be shown in the New Project dialog.

SortPriority

Affect the order in which project are displayed in the new project dialog

TemplateGroupIDsVsTemplate

Gets or sets the Visual Studio template's group ID.

TemplateIDsVsTemplate

Gets or sets the Visual Studio template ID.

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 attribute.

Unregister(RegistrationAttribute+RegistrationContext)

Removes the key for this attribute from the registry.

Applies to