CodeGenerationUtilities.GetBaseRelationship Method
Gets the string for declaring the base relationship of a domain relationship. If the base class is not defined, ElementLink 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 GetBaseRelationship ( _
domainRelationship As DomainRelationship _
) As String
public static string GetBaseRelationship(
DomainRelationship domainRelationship
)
public:
static String^ GetBaseRelationship(
DomainRelationship^ domainRelationship
)
static member GetBaseRelationship :
domainRelationship:DomainRelationship -> string
public static function GetBaseRelationship(
domainRelationship : DomainRelationship
) : String
Parameters
- domainRelationship
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship
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.