ModelingPartitionMapper.DeterminePartitionForElement 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定要用于特定 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
分区映射缓存
返回
应用于 reconstitue 原型元素的分区