Partition.GetClosurePrototypeGroup-Methode (ICollection<ModelElement>, ClosureType, Boolean)
Erstellt ein ElementGroupPrototype des angegebenen Abschlusstyps auf Grundlage der angegebenen Liste von Stammelementen
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
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
)
Parameter
- rootElements
Typ: System.Collections.Generic.ICollection<ModelElement>
Sammlung von Stammelementen, von denen der Abschlussgang aus zu starten ist
- type
Typ: Microsoft.VisualStudio.Modeling.ClosureType
Typ des zu erstellenden Abschlusses
- bypassDemandLoading
Typ: System.Boolean
Gibt an, ob das bedarfsgesteuerte Laden beim Abschluss umgangen werden soll.
Rückgabewert
Typ: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Ein ElementGroupPrototype für die Elementsammlung im ausgewählten Abschlussgang
Hinweise
Alle Gruppenelemente, die nicht das Ziel von einem Gruppe-enthalten sind, einbettende Beziehung, werden als Stammelemente im ElementGroupPrototype markiert.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.