ModelingPartitionMapper.PartitionForClass Method
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Déclaration
Public Function PartitionForClass ( _
defaultPartition As Partition, _
domainClassId As Guid _
) As Partition
public Partition PartitionForClass(
Partition defaultPartition,
Guid domainClassId
)
public:
virtual Partition^ PartitionForClass(
Partition^ defaultPartition,
Guid domainClassId
) sealed
abstract PartitionForClass :
defaultPartition:Partition *
domainClassId:Guid -> Partition
override PartitionForClass :
defaultPartition:Partition *
domainClassId:Guid -> Partition
public final function PartitionForClass(
defaultPartition : Partition,
domainClassId : Guid
) : Partition
Parameters
- defaultPartition
Type: Microsoft.VisualStudio.Modeling.Partition
- domainClassId
Type: System.Guid
Return Value
Type: Microsoft.VisualStudio.Modeling.Partition
Implements
IElementPartitionMapper.PartitionForClass(Partition, Guid)
.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.