IElementPartitionMapper.BeginMapping Method
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.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Function BeginMapping ( _
groupPrototype As ElementGroupPrototype, _
mergePartition As Partition _
) As Object
Object BeginMapping(
ElementGroupPrototype groupPrototype,
Partition mergePartition
)
Object^ BeginMapping(
ElementGroupPrototype^ groupPrototype,
Partition^ mergePartition
)
abstract BeginMapping :
groupPrototype:ElementGroupPrototype *
mergePartition:Partition -> Object
function BeginMapping(
groupPrototype : ElementGroupPrototype,
mergePartition : Partition
) : Object
Parameters
- groupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
The ElementGroupPrototype that is being, or is to be, reconstituted.
- mergePartition
Type: Microsoft.VisualStudio.Modeling.Partition
The merge target partition. Not necessarily where the elements will be reconstituted.
Return Value
Type: System.Object
An object, e.g. a cookie or context specific state, that has meaning to the partition mapper.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.