Share via


CodeGenerationUtilities.GetBaseClass Method

Gets the string for declaring the base class of a domain class. If the base class is not defined, ModelElement is used.

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

Parameters

  • defaultBaseClass
    Type: String

    The default base class to use if one is not specified.

Return Value

Type: String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace