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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
声明
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
- 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.