IElementPartitionMapper.PartitionForElement 方法

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

命名空间:  Microsoft.VisualStudio.Modeling
程序集:  Microsoft.VisualStudio.Modeling.Sdk.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.11.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 调用,对象由此分区制图员返回。可以为空,如果未使用。

返回值

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

.NET Framework 安全性

请参见

参考

IElementPartitionMapper 接口

Microsoft.VisualStudio.Modeling 命名空间