ModelingPartitionMapper.FindPartitions Method
Determine the correct model and diagram partitions 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 FindPartitions ( _
groupPrototype As ElementGroupPrototype, _
targetPartition As Partition _
) As ModelingPartitionMapper..::..PartitionMappings
protected virtual ModelingPartitionMapper..::..PartitionMappings FindPartitions(
ElementGroupPrototype groupPrototype,
Partition targetPartition
)
protected:
virtual ModelingPartitionMapper..::..PartitionMappings^ FindPartitions(
ElementGroupPrototype^ groupPrototype,
Partition^ targetPartition
)
abstract FindPartitions :
groupPrototype:ElementGroupPrototype *
targetPartition:Partition -> ModelingPartitionMapper..::..PartitionMappings
override FindPartitions :
groupPrototype:ElementGroupPrototype *
targetPartition:Partition -> ModelingPartitionMapper..::..PartitionMappings
protected function FindPartitions(
groupPrototype : ElementGroupPrototype,
targetPartition : Partition
) : ModelingPartitionMapper..::..PartitionMappings
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.Shell.ModelingPartitionMapper.PartitionMappings
A value holder containing references to the model and diagram partitions.
.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.