Compartilhar via


IElementPartitionMapper.BeginMapping(ElementGroupPrototype, Partition) Method

Definition

Notification that a series of partition mapping requests are bout to be made for a particular ElementGroupPrototype and merge (or target) partition. This is an opportunity to perform one-off initialization and establish a context for the subsequent mapping calls.

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

Parameters

groupPrototype
ElementGroupPrototype

The ElementGroupPrototype that is being, or is to be, reconstituted.

mergePartition
Partition

The merge target partition. Not necessarily where the elements will be reconstituted.

Returns

An object, e.g. a cookie or context specific state, that has meaning to the partition mapper.

Applies to