Partager via


CodeGenerationUtilities.GetRelationshipTagName Method

Get the XML role element name for the given role's relationship. Note: this is the RoleElementName (if defined), not the XML tag name for a full-form relationship (which is returned from GetDomainClassXmlTagName()).

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 GetRelationshipTagName ( _
    role As DomainRole _
) As String
public static string GetRelationshipTagName(
    DomainRole role
)
public:
static String^ GetRelationshipTagName(
    DomainRole^ role
)
static member GetRelationshipTagName : 
        role:DomainRole -> string 
public static function GetRelationshipTagName(
    role : DomainRole
) : String

Parameters

Return Value

Type: System.String
The role element name of the given role.

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace