ProvideProjectFactoryAttribute ProvideProjectFactoryAttribute ProvideProjectFactoryAttribute ProvideProjectFactoryAttribute 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
type ProvideProjectFactoryAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideProjectFactoryAttribute
Inherits RegistrationAttribute
Inheritance
ProvideProjectFactoryAttributeProvideProjectFactoryAttributeProvideProjectFactoryAttributeProvideProjectFactoryAttributeProvideProjectFactoryAttribute
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) ProvideProjectFactoryAttribute(Type, String, String, String, String, String) ProvideProjectFactoryAttribute(Type, String, String, String, String, String) ProvideProjectFactoryAttribute(Type, String, String, String, String, String) ProvideProjectFactoryAttribute(Type, String, String, String, String, String)

Initializes a new instance of ProvideProjectFactoryAttribute.

Properties

DefaultProjectExtension DefaultProjectExtension DefaultProjectExtension DefaultProjectExtension DefaultProjectExtension

Gets the default extension of the project file.

DisableOnlineTemplates DisableOnlineTemplates DisableOnlineTemplates DisableOnlineTemplates DisableOnlineTemplates

Determines whether to disable online templates.

DisplayProjectFileExtensions DisplayProjectFileExtensions DisplayProjectFileExtensions DisplayProjectFileExtensions DisplayProjectFileExtensions

Gets the resource ID for project file extensions.

DisplayProjectTypeVsTemplate DisplayProjectTypeVsTemplate DisplayProjectTypeVsTemplate DisplayProjectTypeVsTemplate DisplayProjectTypeVsTemplate

Gets or sets the Visual Studio template for the project.

FactoryType FactoryType FactoryType FactoryType FactoryType

Gets the type of the project factory.

FolderGuid FolderGuid FolderGuid FolderGuid FolderGuid

Gets or sets the GUID of the folder for this type of project.

LanguageVsTemplate LanguageVsTemplate LanguageVsTemplate LanguageVsTemplate LanguageVsTemplate

Gets and sets the Visual Studio language template.

Name Name Name Name Name

Gets the name of the type of project.

NewProjectRequireNewFolderVsTemplate NewProjectRequireNewFolderVsTemplate NewProjectRequireNewFolderVsTemplate NewProjectRequireNewFolderVsTemplate NewProjectRequireNewFolderVsTemplate

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

PossibleProjectExtensions PossibleProjectExtensions PossibleProjectExtensions PossibleProjectExtensions PossibleProjectExtensions

Gets the set of possible project extensions.

ProjectSubTypeVsTemplate ProjectSubTypeVsTemplate ProjectSubTypeVsTemplate ProjectSubTypeVsTemplate ProjectSubTypeVsTemplate

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

ProjectTemplatesDirectory ProjectTemplatesDirectory ProjectTemplatesDirectory ProjectTemplatesDirectory ProjectTemplatesDirectory

Gets the project templates directory.

ShowOnlySpecifiedTemplatesVsTemplate ShowOnlySpecifiedTemplatesVsTemplate ShowOnlySpecifiedTemplatesVsTemplate ShowOnlySpecifiedTemplatesVsTemplate ShowOnlySpecifiedTemplatesVsTemplate

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

SortPriority SortPriority SortPriority SortPriority SortPriority

Gets or sets the order in which projects are displayed in the New Project dialog.

TemplateGroupIDsVsTemplate TemplateGroupIDsVsTemplate TemplateGroupIDsVsTemplate TemplateGroupIDsVsTemplate TemplateGroupIDsVsTemplate

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

TemplateIDsVsTemplate TemplateIDsVsTemplate TemplateIDsVsTemplate TemplateIDsVsTemplate TemplateIDsVsTemplate

Gets or sets the Visual Studio template ID.

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

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

Removes the key for this attribute from the registry.

Applies to