Partilhar via


ProvideProjectFactoryAttribute Constructor

Definition

Initializes a new instance of ProvideProjectFactoryAttribute.

public:
 ProvideProjectFactoryAttribute(Type ^ factoryType, System::String ^ name, System::String ^ displayProjectFileExtensionsResourceID, System::String ^ defaultProjectExtension, System::String ^ possibleProjectExtensions, System::String ^ projectTemplatesDirectory);
public:
 ProvideProjectFactoryAttribute(Platform::Type ^ factoryType, Platform::String ^ name, Platform::String ^ displayProjectFileExtensionsResourceID, Platform::String ^ defaultProjectExtension, Platform::String ^ possibleProjectExtensions, Platform::String ^ projectTemplatesDirectory);
public ProvideProjectFactoryAttribute (Type factoryType, string name, string displayProjectFileExtensionsResourceID, string defaultProjectExtension, string possibleProjectExtensions, string projectTemplatesDirectory);
new Microsoft.VisualStudio.Shell.ProvideProjectFactoryAttribute : Type * string * string * string * string * string -> Microsoft.VisualStudio.Shell.ProvideProjectFactoryAttribute
Public Sub New (factoryType As Type, name As String, displayProjectFileExtensionsResourceID As String, defaultProjectExtension As String, possibleProjectExtensions As String, projectTemplatesDirectory As String)

Parameters

factoryType
Type

The type of factory the VSPackage offers.

name
String

The name of the project.

displayProjectFileExtensionsResourceID
String

The resource ID of the project file extensions.

defaultProjectExtension
String

The default project extension.

possibleProjectExtensions
String

The possible project extensions supported by this project factory.

projectTemplatesDirectory
String

The directory containing this project factory’s templates.

Applies to