Share via


CodeGenerationUtilities.GetBaseDomainClass(DomainClass) Method

Definition

Get the base domain class for the supplied class

public:
 static Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ GetBaseDomainClass(Microsoft::VisualStudio::Modeling::DslDefinition::DomainClass ^ domainClass);
public static Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass GetBaseDomainClass (Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass domainClass);
static member GetBaseDomainClass : Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass -> Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
Public Shared Function GetBaseDomainClass (domainClass As DomainClass) As DomainClass

Parameters

domainClass
DomainClass

Returns

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.

Applies to