ModelingPartitionMapper.PartitionForElement Method
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
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
- groupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
- mergePartition
Type: Microsoft.VisualStudio.Modeling.Partition
- protoElement
Type: Microsoft.VisualStudio.Modeling.ProtoElement
- cookie
Type: System.Object
Return Value
Type: Microsoft.VisualStudio.Modeling.Partition
Implements
IElementPartitionMapper.PartitionForElement(ElementGroupPrototype, Partition, ProtoElement, Object)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.