Delen via


ElementFactory.GetPartitionForClass Method

Get the Partition to be used for creating elements of the specified class

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

Syntax

'Declaration
Protected Overridable Function GetPartitionForClass ( _
    domainClass As DomainClassInfo _
) As Partition
protected virtual Partition GetPartitionForClass(
    DomainClassInfo domainClass
)
protected:
virtual Partition^ GetPartitionForClass(
    DomainClassInfo^ domainClass
)
abstract GetPartitionForClass : 
        domainClass:DomainClassInfo -> Partition  
override GetPartitionForClass : 
        domainClass:DomainClassInfo -> Partition
protected function GetPartitionForClass(
    domainClass : DomainClassInfo
) : Partition

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Partition

.NET Framework Security

See Also

Reference

ElementFactory Class

Microsoft.VisualStudio.Modeling Namespace