ProvideProjectFactoryAttribute 构造函数

定义

初始化 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)

参数

factoryType
Type

VSPackage 提供的工厂类型。

name
String

项目的名称。

displayProjectFileExtensionsResourceID
String

项目文件扩展名的资源 ID。

defaultProjectExtension
String

默认的项目扩展名。

possibleProjectExtensions
String

此项目工厂支持的可能的项目扩展。

projectTemplatesDirectory
String

包含此项目工厂的模板的目录。

适用于