Partager via


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

'Déclaration
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

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace