Delen via


ModelingPartitionMapper.WhichPartitionForClass Method

Find which of the modeling partitions should be used for creating an instance of the specified domain class.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Protected Function WhichPartitionForClass ( _
    classInfo As DomainClassInfo _
) As ModelingPartitionMapper.WhichPartition
protected ModelingPartitionMapper.WhichPartition WhichPartitionForClass(
    DomainClassInfo classInfo
)
protected:
ModelingPartitionMapper::WhichPartition WhichPartitionForClass(
    DomainClassInfo^ classInfo
)
member WhichPartitionForClass : 
        classInfo:DomainClassInfo -> ModelingPartitionMapper.WhichPartition
protected function WhichPartitionForClass(
    classInfo : DomainClassInfo
) : ModelingPartitionMapper.WhichPartition

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Shell.ModelingPartitionMapper.WhichPartition

.NET Framework Security

See Also

Reference

ModelingPartitionMapper Class

Microsoft.VisualStudio.Modeling.Shell Namespace