Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determine the partition to use for a particular ProtoElement.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.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
- groupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
The EGP being merged, or tested for mergability
- protoElement
Type: Microsoft.VisualStudio.Modeling.ProtoElement
The individual ProtoElement for which a partition is being requested
- partitions
Type: Microsoft.VisualStudio.Modeling.Shell.ModelingPartitionMapper.PartitionMappings
Partition mapping cache
Return Value
Type: Microsoft.VisualStudio.Modeling.Partition
The partition that should be used to reconstitue the prototype element
.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.