Compartilhar via


Método IElementPartitionMapper.PartitionForElement

Determinar a partição a ser usado para reconstituir um elemento de protótipo

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Sintaxe

'Declaração
Function PartitionForElement ( _
    groupPrototype As ElementGroupPrototype, _
    mergePartition As Partition, _
    protoElement As ProtoElement, _
    cookie As Object _
) As Partition
Partition PartitionForElement(
    ElementGroupPrototype groupPrototype,
    Partition mergePartition,
    ProtoElement protoElement,
    Object cookie
)

Parâmetros

  • cookie
    Tipo: System.Object
    O objeto retornado pelo mapeador partição quando BeginMapping foi chamado.Pode ser null se não usado.

Valor de retorno

Tipo: Microsoft.VisualStudio.Modeling.Partition
Partição reconstituir o elemento

Segurança do .NET Framework

Consulte também

Referência

IElementPartitionMapper Interface

Namespace Microsoft.VisualStudio.Modeling