共用方式為


ModelingPartitionMapper.PartitionForClass 方法

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)

語法

'宣告
Public Function PartitionForClass ( _
    defaultPartition As Partition, _
    domainClassId As Guid _
) As Partition
public Partition PartitionForClass(
    Partition defaultPartition,
    Guid domainClassId
)

參數

傳回值

類型:Microsoft.VisualStudio.Modeling.Partition

實作

IElementPartitionMapper.PartitionForClass(Partition, Guid)

.NET Framework 安全性

請參閱

參考

ModelingPartitionMapper 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間