ModelingPartitionMapper.DeterminePartitionForElement 方法

定义

确定要用于特定 ProtoElement 的分区。

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

参数

groupPrototype
ElementGroupPrototype

要合并或测试的 EGP mergability

protoElement
ProtoElement

正在为其请求分区的单个 ProtoElement

partitions
ModelingPartitionMapper.PartitionMappings

分区映射缓存

返回

Partition

应用于 reconstitue 原型元素的分区

适用于