IElementPartitionMapper.PartitionForElement 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定要用于重建原型元素的分区
public:
Microsoft::VisualStudio::Modeling::Partition ^ PartitionForElement(Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ groupPrototype, Microsoft::VisualStudio::Modeling::Partition ^ mergePartition, Microsoft::VisualStudio::Modeling::ProtoElement ^ protoElement, System::Object ^ cookie);
public Microsoft.VisualStudio.Modeling.Partition PartitionForElement (Microsoft.VisualStudio.Modeling.ElementGroupPrototype groupPrototype, Microsoft.VisualStudio.Modeling.Partition mergePartition, Microsoft.VisualStudio.Modeling.ProtoElement protoElement, object cookie);
abstract member PartitionForElement : Microsoft.VisualStudio.Modeling.ElementGroupPrototype * Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.ProtoElement * obj -> Microsoft.VisualStudio.Modeling.Partition
Public Function PartitionForElement (groupPrototype As ElementGroupPrototype, mergePartition As Partition, protoElement As ProtoElement, cookie As Object) As Partition
参数
- groupPrototype
- ElementGroupPrototype
包含 protoElement 的 Elementgroupprototype 创建 elementgroup
- mergePartition
- Partition
合并目标分区。 不一定会在何处重建元素。
- protoElement
- ProtoElement
要 (或) 重组的原型元素
- cookie
- Object
调用 BeginMapping 时此分区映射器返回的对象。 如果未使用,则可以为 null。
返回
要重建元素的分区