Partager via


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

'Déclaration
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

Return Value

Type: Microsoft.VisualStudio.Modeling.Partition
The partition in which to create diagram elements

.NET Framework Security

See Also

Reference

ModelingPartitionMapper Class

FindDiagramPartition Overload

Microsoft.VisualStudio.Modeling.Shell Namespace