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

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

命名空间:  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, _
    bypassDemandLoading As Boolean _
) As ElementGroupPrototype
public ElementGroupPrototype GetClosurePrototypeGroup(
    ICollection<ModelElement> rootElements,
    ClosureType type,
    bool bypassDemandLoading
)

参数

  • bypassDemandLoading
    类型:System.Boolean
    指示是否能够绕过要求加载,当窗体关闭时

返回值

类型:Microsoft.VisualStudio.Modeling.ElementGroupPrototype
在关闭结构选择的元素集合的 ElementGroupPrototype

备注

不是目标的任何组包含的所有组元素,嵌入关系,标记为 ElementGroupPrototype 的根元素。

.NET Framework 安全性

请参见

参考

Partition 类

GetClosurePrototypeGroup 重载

Microsoft.VisualStudio.Modeling 命名空间