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
- domainClass
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
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
- 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.