Udostępnij za pośrednictwem


CodeGenerationUtilities.GetRelationshipTagName(DomainRole) Method

Definition

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()).

public:
 static System::String ^ GetRelationshipTagName(Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ role);
public static string GetRelationshipTagName (Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole role);
static member GetRelationshipTagName : Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole -> string
Public Shared Function GetRelationshipTagName (role As DomainRole) As String

Parameters

role
DomainRole

DomainRole whose relationship's role element name will be returned.

Returns

The role element name of the given role.

Applies to