Freigeben über


ModelingPartitionMapper.PartitionForElement Method

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

Syntax

'Declaration
Public Function PartitionForElement ( _
    groupPrototype As ElementGroupPrototype, _
    mergePartition As Partition, _
    protoElement As ProtoElement, _
    cookie As Object _
) As Partition
public Partition PartitionForElement(
    ElementGroupPrototype groupPrototype,
    Partition mergePartition,
    ProtoElement protoElement,
    Object cookie
)
public:
virtual Partition^ PartitionForElement(
    ElementGroupPrototype^ groupPrototype, 
    Partition^ mergePartition, 
    ProtoElement^ protoElement, 
    Object^ cookie
) sealed
abstract PartitionForElement : 
        groupPrototype:ElementGroupPrototype * 
        mergePartition:Partition * 
        protoElement:ProtoElement * 
        cookie:Object -> Partition  
override PartitionForElement : 
        groupPrototype:ElementGroupPrototype * 
        mergePartition:Partition * 
        protoElement:ProtoElement * 
        cookie:Object -> Partition
public final function PartitionForElement(
    groupPrototype : ElementGroupPrototype, 
    mergePartition : Partition, 
    protoElement : ProtoElement, 
    cookie : Object
) : Partition

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Partition

Implements

IElementPartitionMapper.PartitionForElement(ElementGroupPrototype, Partition, ProtoElement, Object)

.NET Framework Security

See Also

Reference

ModelingPartitionMapper Class

Microsoft.VisualStudio.Modeling.Shell Namespace