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
- classInfo
Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
Return Value
Type: Microsoft.VisualStudio.Modeling.Shell.ModelingPartitionMapper.WhichPartition
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.