IVsAggregatableProjectFactoryCorrected.GetAggregateProjectType 方法

返回包含项类型 GUID 的字符串列表复合创建此项实例。

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

语法

声明
Function GetAggregateProjectType ( _
    fileName As String, _
    <OutAttribute> ByRef projectTypeGuid As String _
) As Integer
int GetAggregateProjectType(
    string fileName,
    out string projectTypeGuid
)

参数

  • fileName
    类型:System.String
    [in] 包含项目类型 GUID 列表中文件的名称。
  • projectTypeGuid
    类型:System.String%
    [out] 对包含分号分隔字符串的指针分隔列表项类型 GUID,排序从外部到内部项的子类型。

返回值

类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

GetAggregateProjectType 应返回自身的至少一个 GUID 项目类型 GUID。此方法是预期获取 GUID 列表从指定的文件。

.NET Framework 安全性

请参见

参考

IVsAggregatableProjectFactoryCorrected 接口

Microsoft.VisualStudio.Shell.Flavor 命名空间