次の方法で共有


Store.GetClosurePrototypeGroup Method

Definition

Overloads

GetClosurePrototypeGroup(ICollection<ModelElement>, ClosureType)

Creates an ElementGroupPrototype in the DefaultPartition of the given closure type based on the given list of root Elements

GetClosurePrototypeGroup(ICollection<ModelElement>, ClosureType, Boolean)

Creates an ElementGroupPrototype in the DefaultPartition of the given closure type based on the given list of root Elements

GetClosurePrototypeGroup(ICollection<ModelElement>, ClosureType)

Creates an ElementGroupPrototype in the DefaultPartition of the given closure type based on the given list of root Elements

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

Parameters

rootElements
ICollection<ModelElement>

collection of root elements

type
ClosureType

type of closure to build

Returns

ICollection that form the closure for copy

Remarks

the element group prototype's DistinguishedElements list will be populated with the root elements list

Applies to

GetClosurePrototypeGroup(ICollection<ModelElement>, ClosureType, Boolean)

Creates an ElementGroupPrototype in the DefaultPartition of the given closure type based on the given list of root Elements

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

Parameters

rootElements
ICollection<ModelElement>

collection of root elements

type
ClosureType

type of closure to build

bypassDemandLoading
Boolean

indicates whether to bypass demand loading while forming the closure

Returns

ICollection that form the closure for copy

Remarks

the element group prototype's DistinguishedElements list will be populated with the root elements list

Applies to