IElementPartitionMapper.PartitionForElement 方法

确定重建原型元素使用的分区

命名空间:  Microsoft.VisualStudio.Modeling
程序集:  Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)

语法

声明
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
)

参数

  • cookie
    类型:System.Object
    当 BeginMapping 调用时,由此部件映射器返回的对象。如果未使用,可以为 null。

返回值

类型:Microsoft.VisualStudio.Modeling.Partition
重建此元素的分区

.NET Framework 安全性

请参阅

参考

IElementPartitionMapper 接口

Microsoft.VisualStudio.Modeling 命名空间