ModelingPartitionMapper.FindDiagramPartition Method (ElementGroupPrototype, Partition)
Find the correct diagram partition for a merge of the specified ElementGroupPrototype
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Protected Overridable Function FindDiagramPartition ( _
groupPrototype As ElementGroupPrototype, _
targetPartition As Partition _
) As Partition
protected virtual Partition FindDiagramPartition(
ElementGroupPrototype groupPrototype,
Partition targetPartition
)
protected:
virtual Partition^ FindDiagramPartition(
ElementGroupPrototype^ groupPrototype,
Partition^ targetPartition
)
abstract FindDiagramPartition :
groupPrototype:ElementGroupPrototype *
targetPartition:Partition -> Partition
override FindDiagramPartition :
groupPrototype:ElementGroupPrototype *
targetPartition:Partition -> Partition
protected function FindDiagramPartition(
groupPrototype : ElementGroupPrototype,
targetPartition : Partition
) : Partition
Parameters
- groupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
The EGP being merged, or tested for mergability
- targetPartition
Type: Microsoft.VisualStudio.Modeling.Partition
The partition of the merge target
Return Value
Type: Microsoft.VisualStudio.Modeling.Partition
The partition in which to create diagram elements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.