共用方式為


CodeGenerationUtilities.GetGenerationInheritanceModifier Method

Gets the class modifier for a domain class. Returns "abstract" if the class is a double derived class because the generated class (base class) in a double-derived pair is always abstract

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 GetGenerationInheritanceModifier ( _
    domainClass As DomainClass _
) As String
public static string GetGenerationInheritanceModifier(
    DomainClass domainClass
)
public:
static String^ GetGenerationInheritanceModifier(
    DomainClass^ domainClass
)
static member GetGenerationInheritanceModifier : 
        domainClass:DomainClass -> string 
public static function GetGenerationInheritanceModifier(
    domainClass : DomainClass
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace