다음을 통해 공유


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

‘선언
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: System.String
    The default base class to use if one is not specified.

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace