获取项目类型组成复合项目的 GUID 列表。应将此方法将在合成项目子类型系统中的最内层的项目。
命名空间: Microsoft.VisualStudio.Shell.Flavor
程序集: Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)
语法
声明
Private Function GetAggregateProjectTypeGuids ( _
<OutAttribute> ByRef projectTypeGuids As String _
) As Integer Implements IVsAggregatableProject.GetAggregateProjectTypeGuids
int IVsAggregatableProject.GetAggregateProjectTypeGuids(
out string projectTypeGuids
)
参数
- projectTypeGuids
类型:System.String%
[out] 分号分隔的安装项目类型 GUID。
返回值
类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。
实现
IVsAggregatableProject.GetAggregateProjectTypeGuids(String%)
备注
此方法调用内层项目的 [M:Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.GetAggregateProjectTypeGuids(System.String@] 。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。