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

,如果根元素中指定,在关闭特定类型的默认分区创建元素组原型。

命名空间:  Microsoft.VisualStudio.Modeling
程序集:  Microsoft.VisualStudio.Modeling.Sdk.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.11.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 命名空间