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.GuidThe Id of the DomainClass being instantiated
Return Value
Type: Microsoft.VisualStudio.Modeling.Partition
Partition for new elements
.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.