CodeGenerationUtilities.IsModelElementDomainClass Method
Returns whether the supplied domain class represents "ModelElement".
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Public Shared Function IsModelElementDomainClass ( _
domainClass As DomainClass _
) As Boolean
public static bool IsModelElementDomainClass(
DomainClass domainClass
)
public:
static bool IsModelElementDomainClass(
DomainClass^ domainClass
)
static member IsModelElementDomainClass :
domainClass:DomainClass -> bool
public static function IsModelElementDomainClass(
domainClass : DomainClass
) : boolean
Parameters
domainClass
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassDomain class to check
Return Value
Type: Boolean
.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.