Partager via


ModelingPartitionMapper.FindPartitions Method

Definition

Determine the correct model and diagram partitions for a merge of the specified ElementGroupPrototype

protected:
 virtual Microsoft::VisualStudio::Modeling::Shell::ModelingPartitionMapper::PartitionMappings ^ FindPartitions(Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ groupPrototype, Microsoft::VisualStudio::Modeling::Partition ^ targetPartition);
protected virtual Microsoft.VisualStudio.Modeling.Shell.ModelingPartitionMapper.PartitionMappings FindPartitions (Microsoft.VisualStudio.Modeling.ElementGroupPrototype groupPrototype, Microsoft.VisualStudio.Modeling.Partition targetPartition);
abstract member FindPartitions : Microsoft.VisualStudio.Modeling.ElementGroupPrototype * Microsoft.VisualStudio.Modeling.Partition -> Microsoft.VisualStudio.Modeling.Shell.ModelingPartitionMapper.PartitionMappings
override this.FindPartitions : Microsoft.VisualStudio.Modeling.ElementGroupPrototype * Microsoft.VisualStudio.Modeling.Partition -> Microsoft.VisualStudio.Modeling.Shell.ModelingPartitionMapper.PartitionMappings
Protected Overridable Function FindPartitions (groupPrototype As ElementGroupPrototype, targetPartition As Partition) As ModelingPartitionMapper.PartitionMappings

Parameters

groupPrototype
ElementGroupPrototype

The EGP being merged, or tested for mergability

targetPartition
Partition

The partition of the merge target

Returns

A value holder containing references to the model and diagram partitions.

Applies to