Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Determine the partition to use for a particular ProtoElement.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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.ElementGroupPrototypeThe EGP being merged, or tested for mergability
protoElement
Type: Microsoft.VisualStudio.Modeling.ProtoElementThe individual ProtoElement for which a partition is being requested
partitions
Type: Microsoft.VisualStudio.Modeling.Shell.ModelingPartitionMapper.PartitionMappingsPartition 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.