确定重建原型元素使用的分区
命名空间: 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
)
参数
- groupPrototype
类型:Microsoft.VisualStudio.Modeling.ElementGroupPrototype
包含 protoElement 的 ElementGroupPrototype
- mergePartition
类型:Microsoft.VisualStudio.Modeling.Partition
合并目标分区。不一定元素将被重建位置。
- protoElement
类型:Microsoft.VisualStudio.Modeling.ProtoElement
正在或将要被重建的原型元素
- cookie
类型:System.Object
当 BeginMapping 调用时,由此部件映射器返回的对象。如果未使用,可以为 null。
返回值
类型:Microsoft.VisualStudio.Modeling.Partition
重建此元素的分区
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。