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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaración
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
- 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.