Partager via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
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

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

See Also

Reference

IElementPartitionMapper Interface

Microsoft.VisualStudio.Modeling Namespace