Freigeben über


ModelingPartitionMapper.DeterminePartitionForElement Method

Determine the partition to use for a particular ProtoElement.

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
)
protected:
virtual Partition^ DeterminePartitionForElement(
    ElementGroupPrototype^ groupPrototype, 
    ProtoElement^ protoElement, 
    ModelingPartitionMapper::PartitionMappings^ partitions
)
abstract DeterminePartitionForElement : 
        groupPrototype:ElementGroupPrototype * 
        protoElement:ProtoElement * 
        partitions:ModelingPartitionMapper.PartitionMappings -> Partition  
override DeterminePartitionForElement : 
        groupPrototype:ElementGroupPrototype * 
        protoElement:ProtoElement * 
        partitions:ModelingPartitionMapper.PartitionMappings -> Partition
protected function DeterminePartitionForElement(
    groupPrototype : ElementGroupPrototype, 
    protoElement : ProtoElement, 
    partitions : ModelingPartitionMapper.PartitionMappings
) : Partition

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Partition
The partition that should be used to reconstitue the prototype element

.NET Framework Security

See Also

Reference

ModelingPartitionMapper Class

Microsoft.VisualStudio.Modeling.Shell Namespace