IElementPartitionMapper.BeginMapping(ElementGroupPrototype, Partition) 方法

定义

通知,bout 对特定的 Elementgroupprototype 创建 elementgroup 和 merge (或目标) 分区执行一系列分区映射请求。 这是一种执行一次性初始化并为后续映射调用建立上下文的机会。

public:
 System::Object ^ BeginMapping(Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ groupPrototype, Microsoft::VisualStudio::Modeling::Partition ^ mergePartition);
public object BeginMapping (Microsoft.VisualStudio.Modeling.ElementGroupPrototype groupPrototype, Microsoft.VisualStudio.Modeling.Partition mergePartition);
abstract member BeginMapping : Microsoft.VisualStudio.Modeling.ElementGroupPrototype * Microsoft.VisualStudio.Modeling.Partition -> obj
Public Function BeginMapping (groupPrototype As ElementGroupPrototype, mergePartition As Partition) As Object

参数

groupPrototype
ElementGroupPrototype

正在或要重组的 Elementgroupprototype 创建 elementgroup。

mergePartition
Partition

合并目标分区。 不一定会在何处重建元素。

返回

Object

对分区映射器有意义的对象,例如 cookie 或上下文特定状态。

适用于