ProvideProjectFactoryAttribute 构造函数

初始化 ProvideProjectFactoryAttribute 的新实例。

命名空间:  Microsoft.VisualStudio.Shell
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public Sub New ( _
    factoryType As Type, _
    name As String, _
    displayProjectFileExtensionsResourceID As String, _
    defaultProjectExtension As String, _
    possibleProjectExtensions As String, _
    projectTemplatesDirectory As String _
)
public ProvideProjectFactoryAttribute(
    Type factoryType,
    string name,
    string displayProjectFileExtensionsResourceID,
    string defaultProjectExtension,
    string possibleProjectExtensions,
    string projectTemplatesDirectory
)

参数

  • factoryType
    类型:System.Type
    工厂的类型 VSPackage 提供。
  • displayProjectFileExtensionsResourceID
    类型:System.String
    项目文件扩展名的资源 ID。
  • defaultProjectExtension
    类型:System.String
    默认项目扩展。
  • possibleProjectExtensions
    类型:System.String
    此项目工厂支持的项目扩展。
  • projectTemplatesDirectory
    类型:System.String
    包含此项目工厂的模板的目录。

.NET Framework 安全性

请参见

参考

ProvideProjectFactoryAttribute 类

Microsoft.VisualStudio.Shell 命名空间