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
- domainClass
Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
Return Value
Type: Microsoft.VisualStudio.Modeling.Partition
.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.