次の方法で共有


ModelingPartitionMapper.FindDiagramPartition Method

Definition

Overloads

FindDiagramPartition(Partition)
FindDiagramPartition(ElementGroupPrototype, Partition)

Find the correct diagram partition for a merge of the specified ElementGroupPrototype

FindDiagramPartition(Partition)

protected:
 virtual Microsoft::VisualStudio::Modeling::Partition ^ FindDiagramPartition(Microsoft::VisualStudio::Modeling::Partition ^ defaultPartition);
protected virtual Microsoft.VisualStudio.Modeling.Partition FindDiagramPartition (Microsoft.VisualStudio.Modeling.Partition defaultPartition);
abstract member FindDiagramPartition : Microsoft.VisualStudio.Modeling.Partition -> Microsoft.VisualStudio.Modeling.Partition
override this.FindDiagramPartition : Microsoft.VisualStudio.Modeling.Partition -> Microsoft.VisualStudio.Modeling.Partition
Protected Overridable Function FindDiagramPartition (defaultPartition As Partition) As Partition

Parameters

defaultPartition
Partition

Returns

Applies to

FindDiagramPartition(ElementGroupPrototype, Partition)

Find the correct diagram partition for a merge of the specified ElementGroupPrototype

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

Parameters

groupPrototype
ElementGroupPrototype

The EGP being merged, or tested for mergability

targetPartition
Partition

The partition of the merge target

Returns

The partition in which to create diagram elements

Applies to