Store.DefaultPartitionForClass Method

Return the partition into which new elements of the specified class should be created by default.

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

Syntax

'Declaration
Public Function DefaultPartitionForClass ( _
    domainClassId As Guid _
) As Partition
public Partition DefaultPartitionForClass(
    Guid domainClassId
)
public:
Partition^ DefaultPartitionForClass(
    Guid domainClassId
)
member DefaultPartitionForClass : 
        domainClassId:Guid -> Partition
public function DefaultPartitionForClass(
    domainClassId : Guid
) : Partition

Parameters

  • domainClassId
    Type: System.Guid

    The Id of the DomainClass being instantiated

Return Value

Type: Microsoft.VisualStudio.Modeling.Partition
Partition for new elements

.NET Framework Security

See Also

Reference

Store Class

Microsoft.VisualStudio.Modeling Namespace