CodeGenerationUtilities.GetBaseDomainClass(DomainClass) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.