特定 ProtoElement 的确定分区使用。
命名空间: Microsoft.VisualStudio.Modeling.Shell
程序集: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)
语法
声明
Protected Overridable Function DeterminePartitionForElement ( _
groupPrototype As ElementGroupPrototype, _
protoElement As ProtoElement, _
partitions As ModelingPartitionMapper.PartitionMappings _
) As Partition
protected virtual Partition DeterminePartitionForElement(
ElementGroupPrototype groupPrototype,
ProtoElement protoElement,
ModelingPartitionMapper.PartitionMappings partitions
)
参数
- groupPrototype
类型:Microsoft.VisualStudio.Modeling.ElementGroupPrototype
为 mergability 合并或测试 EGP
- protoElement
类型:Microsoft.VisualStudio.Modeling.ProtoElement
一个分区将被请求的单个 ProtoElement。
- partitions
类型:Microsoft.VisualStudio.Modeling.Shell.ModelingPartitionMapper.PartitionMappings
映射缓存的分区
返回值
类型:Microsoft.VisualStudio.Modeling.Partition
重建原型元素应该使用的分区
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。