共用方式為


CodeGenerationUtilities.HasNonAbstractBaseClass Method

Tells if the given DomainClass has a non-abstract base class. There is needed to determine if a "new" keyword needs to be generated.

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

Syntax

'宣告
Public Shared Function HasNonAbstractBaseClass ( _
    domainClass As DomainClass _
) As Boolean
public static bool HasNonAbstractBaseClass(
    DomainClass domainClass
)
public:
static bool HasNonAbstractBaseClass(
    DomainClass^ domainClass
)
static member HasNonAbstractBaseClass : 
        domainClass:DomainClass -> bool 
public static function HasNonAbstractBaseClass(
    domainClass : DomainClass
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace