Condividi tramite


ModelingDocData.CreatePartitionMapper Method

Factory method to create the partition mapper responsible for mapping elements to the correct partitions of the store owned by this ModelingDocData when ElementGroupPrototypes are reconstituted.

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

Syntax

'Declaration
Protected Overridable Function CreatePartitionMapper As IElementPartitionMapper
protected virtual IElementPartitionMapper CreatePartitionMapper()
protected:
virtual IElementPartitionMapper^ CreatePartitionMapper()
abstract CreatePartitionMapper : unit -> IElementPartitionMapper  
override CreatePartitionMapper : unit -> IElementPartitionMapper
protected function CreatePartitionMapper() : IElementPartitionMapper

Return Value

Type: Microsoft.VisualStudio.Modeling.IElementPartitionMapper
An IElementPartitionMapper implementing the correct ProtoElement to Partition mappings for this DocData.

.NET Framework Security

See Also

Reference

ModelingDocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace