ModelingPartitionMapper.PartitionForElement-Methode
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Function PartitionForElement ( _
groupPrototype As ElementGroupPrototype, _
mergePartition As Partition, _
protoElement As ProtoElement, _
cookie As Object _
) As Partition
public Partition PartitionForElement(
ElementGroupPrototype groupPrototype,
Partition mergePartition,
ProtoElement protoElement,
Object cookie
)
Parameter
- groupPrototype
Typ: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
- mergePartition
Typ: Microsoft.VisualStudio.Modeling.Partition
- protoElement
Typ: Microsoft.VisualStudio.Modeling.ProtoElement
- cookie
Typ: System.Object
Rückgabewert
Typ: Microsoft.VisualStudio.Modeling.Partition
Implementiert
IElementPartitionMapper.PartitionForElement(ElementGroupPrototype, Partition, ProtoElement, Object)
.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.