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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
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
role
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRoleDomainRole whose relationship's role element name will be returned.
Return Value
Type: String
The role element name of the given role.
.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.