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 be used to reconstitute a prototype element
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Function PartitionForElement ( _
groupPrototype As ElementGroupPrototype, _
mergePartition As Partition, _
protoElement As ProtoElement, _
cookie As Object _
) As Partition
Partition PartitionForElement(
ElementGroupPrototype groupPrototype,
Partition mergePartition,
ProtoElement protoElement,
Object cookie
)
Partition^ PartitionForElement(
ElementGroupPrototype^ groupPrototype,
Partition^ mergePartition,
ProtoElement^ protoElement,
Object^ cookie
)
abstract PartitionForElement :
groupPrototype:ElementGroupPrototype *
mergePartition:Partition *
protoElement:ProtoElement *
cookie:Object -> Partition
function PartitionForElement(
groupPrototype : ElementGroupPrototype,
mergePartition : Partition,
protoElement : ProtoElement,
cookie : Object
) : Partition
Parameters
groupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototypeThe ElementGroupPrototype containing protoElement
mergePartition
Type: Microsoft.VisualStudio.Modeling.PartitionThe merge target partition. Not necessarily where the elements will be reconstituted.
protoElement
Type: Microsoft.VisualStudio.Modeling.ProtoElementThe prototype element being (or to be) reconstituted
cookie
Type: System.ObjectThe object returned by this partition mapper when BeginMapping was called. Can be null if not used.
Return Value
Type: Microsoft.VisualStudio.Modeling.Partition
Partition in which to reconstitute the 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.