CodeGenerationUtilities.GetRelationshipTagName(DomainRole) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.