Partition.GetClosurePrototypeGroup 方法 (ICollection<ModelElement>, ClosureType)

创建基于给定根元素列表的给定关闭类型的 ElementGroupPrototype

命名空间:  Microsoft.VisualStudio.Modeling
程序集:  Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)

语法

声明
Public Function GetClosurePrototypeGroup ( _
    rootElements As ICollection(Of ModelElement), _
    type As ClosureType _
) As ElementGroupPrototype
public ElementGroupPrototype GetClosurePrototypeGroup(
    ICollection<ModelElement> rootElements,
    ClosureType type
)

参数

返回值

类型:Microsoft.VisualStudio.Modeling.ElementGroupPrototype
在关闭步行中选择的元素集合的 ElementGroupPrototype

备注

元素组原型的 DistinguishedElements 列表中填充:,其中填充了根元素的列表

.NET Framework 安全性

请参阅

参考

Partition 类

GetClosurePrototypeGroup 重载

Microsoft.VisualStudio.Modeling 命名空间