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

给定根元素列表和允许跳过需求加载时,创建指定关闭类型的默认分区的元素组原型。

命名空间:  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
    当窗体关闭时绕过要求加载,则为 true;否则为 false。

返回值

类型:Microsoft.VisualStudio.Modeling.ElementGroupPrototype
元素组原型集合形成了用于复制的闭包。

备注

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

.NET Framework 安全性

请参阅

参考

Store 类

GetClosurePrototypeGroup 重载

Microsoft.VisualStudio.Modeling 命名空间