共用方式為


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
)

參數

傳回值

類型:Microsoft.VisualStudio.Modeling.Partition

實作

IElementPartitionMapper.PartitionForElement(ElementGroupPrototype, Partition, ProtoElement, Object)

.NET Framework 安全性

請參閱

參考

ModelingPartitionMapper 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間