ModelingPartitionMapper.PartitionForElement 方法
命名空間: Microsoft.VisualStudio.Modeling.Shell
組件: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)
語法
'宣告
Public Function PartitionForElement ( _
groupPrototype As ElementGroupPrototype, _
mergePartition As Partition, _
protoElement As ProtoElement, _
cookie As Object _
) As Partition
public Partition PartitionForElement(
ElementGroupPrototype groupPrototype,
Partition mergePartition,
ProtoElement protoElement,
Object cookie
)
參數
- groupPrototype
類型:Microsoft.VisualStudio.Modeling.ElementGroupPrototype
- mergePartition
類型:Microsoft.VisualStudio.Modeling.Partition
- protoElement
類型:Microsoft.VisualStudio.Modeling.ProtoElement
- cookie
類型:System.Object
傳回值
類型:Microsoft.VisualStudio.Modeling.Partition
實作
IElementPartitionMapper.PartitionForElement(ElementGroupPrototype, Partition, ProtoElement, Object)
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。