Partition.GetClosurePrototypeGroup-Methode (ICollection<ModelElement>, ClosureType)
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 _
) As ElementGroupPrototype
public ElementGroupPrototype GetClosurePrototypeGroup(
ICollection<ModelElement> rootElements,
ClosureType type
)
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
Rückgabewert
Typ: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Ein ElementGroupPrototype für die Elementsammlung im ausgewählten Abschlussgang
Hinweise
die des Elementgruppender distinguishedelements-Liste Prototyps wird mit der Stammelementliste aufgefüllt
.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.