Freigeben über


ModelingPartitionMapper.DeterminePartitionForElement-Methode

Bestimmen Sie die Partition, die für ein bestimmtes ProtoElement zu verwenden ist.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Protected Overridable Function DeterminePartitionForElement ( _
    groupPrototype As ElementGroupPrototype, _
    protoElement As ProtoElement, _
    partitions As ModelingPartitionMapper.PartitionMappings _
) As Partition
protected virtual Partition DeterminePartitionForElement(
    ElementGroupPrototype groupPrototype,
    ProtoElement protoElement,
    ModelingPartitionMapper.PartitionMappings partitions
)

Parameter

Rückgabewert

Typ: Microsoft.VisualStudio.Modeling.Partition
Die Partition, die verwendet werden sollte, um das Prototypelement zu rekonstituieren

.NET Framework-Sicherheit

Siehe auch

Referenz

ModelingPartitionMapper Klasse

Microsoft.VisualStudio.Modeling.Shell-Namespace