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

如果根元素列表指定,则创建给定关闭类型的默认分区的元素组原型。

命名空间:  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
元素组原型集合。

备注

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

.NET Framework 安全性

请参阅

参考

Store 类

GetClosurePrototypeGroup 重载

Microsoft.VisualStudio.Modeling 命名空间