Store.GetClosurePrototypeGroup 方法

定义

重载

GetClosurePrototypeGroup(ICollection<ModelElement>, ClosureType)

基于给定的根元素列表在给定的结束类型 DefaultPartition 中创建 Elementgroupprototype 创建 elementgroup

GetClosurePrototypeGroup(ICollection<ModelElement>, ClosureType, Boolean)

基于给定的根元素列表在给定的结束类型 DefaultPartition 中创建 Elementgroupprototype 创建 elementgroup

GetClosurePrototypeGroup(ICollection<ModelElement>, ClosureType)

基于给定的根元素列表在给定的结束类型 DefaultPartition 中创建 Elementgroupprototype 创建 elementgroup

public:
 Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ GetClosurePrototypeGroup(System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements, Microsoft::VisualStudio::Modeling::ClosureType type);
public Microsoft.VisualStudio.Modeling.ElementGroupPrototype GetClosurePrototypeGroup (System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements, Microsoft.VisualStudio.Modeling.ClosureType type);
member this.GetClosurePrototypeGroup : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * Microsoft.VisualStudio.Modeling.ClosureType -> Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Public Function GetClosurePrototypeGroup (rootElements As ICollection(Of ModelElement), type As ClosureType) As ElementGroupPrototype

参数

rootElements
ICollection<ModelElement>

根元素的集合

type
ClosureType

要生成的闭包类型

返回

ElementGroupPrototype

用于形成副本闭包的 ICollection

注解

将用根元素列表填充元素组原型的 DistinguishedElements 列表

适用于

GetClosurePrototypeGroup(ICollection<ModelElement>, ClosureType, Boolean)

基于给定的根元素列表在给定的结束类型 DefaultPartition 中创建 Elementgroupprototype 创建 elementgroup

public:
 Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ GetClosurePrototypeGroup(System::Collections::Generic::ICollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ rootElements, Microsoft::VisualStudio::Modeling::ClosureType type, bool bypassDemandLoading);
public Microsoft.VisualStudio.Modeling.ElementGroupPrototype GetClosurePrototypeGroup (System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> rootElements, Microsoft.VisualStudio.Modeling.ClosureType type, bool bypassDemandLoading);
member this.GetClosurePrototypeGroup : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Modeling.ModelElement> * Microsoft.VisualStudio.Modeling.ClosureType * bool -> Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Public Function GetClosurePrototypeGroup (rootElements As ICollection(Of ModelElement), type As ClosureType, bypassDemandLoading As Boolean) As ElementGroupPrototype

参数

rootElements
ICollection<ModelElement>

根元素的集合

type
ClosureType

要生成的闭包类型

bypassDemandLoading
Boolean

指示构成闭包时是否绕过请求加载

返回

ElementGroupPrototype

用于形成副本闭包的 ICollection

注解

将用根元素列表填充元素组原型的 DistinguishedElements 列表

适用于