ModelingPartitionMapper.DeterminePartitionForElement-Methode
Bestimmen Sie die Partition, die für ein bestimmtes ProtoElement zu verwenden ist.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Protected Overridable Function DeterminePartitionForElement ( _
groupPrototype As ElementGroupPrototype, _
protoElement As ProtoElement, _
partitions As ModelingPartitionMapper.PartitionMappings _
) As Partition
protected virtual Partition DeterminePartitionForElement(
ElementGroupPrototype groupPrototype,
ProtoElement protoElement,
ModelingPartitionMapper.PartitionMappings partitions
)
Parameter
- groupPrototype
Typ: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Der zusammengeführte (oder auf Zusammenführbarkeit getestete) EGP.
- protoElement
Typ: Microsoft.VisualStudio.Modeling.ProtoElement
Das einzelne ProtoElement, für das eine Partition angefordert wird.
- partitions
Typ: Microsoft.VisualStudio.Modeling.Shell.ModelingPartitionMapper.PartitionMappings
Partitionszuordnungscache
Rückgabewert
Typ: Microsoft.VisualStudio.Modeling.Partition
Die Partition, die verwendet werden sollte, um das Prototypelement zu rekonstituieren
.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.