Partager via


CodeGenerationUtilities.GetBaseDomainClass Method

Get the base domain class for the supplied class

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

Syntax

'Déclaration
Public Shared Function GetBaseDomainClass ( _
    domainClass As DomainClass _
) As DomainClass
public static DomainClass GetBaseDomainClass(
    DomainClass domainClass
)
public:
static DomainClass^ GetBaseDomainClass(
    DomainClass^ domainClass
)
static member GetBaseDomainClass : 
        domainClass:DomainClass -> DomainClass 
public static function GetBaseDomainClass(
    domainClass : DomainClass
) : DomainClass

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
All domain classes inherit from ModelElement, so if the supplied class doesn't have an explicit base class then the domain class for ModelElement is returned. If the supplied domain class represents ModelElement, then null is returned.

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace