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
- domainClass
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClass
- defaultBaseClass
Type: System.String
The default base class to use if one is not specified.
Return Value
Type: System.String
.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.