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

创建基于给定根元素列表的给定关闭类型的 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, _
    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 命名空间