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
'宣告
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.DomainRole
DomainRole whose relationship's role element name will be returned.
Return Value
Type: System.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.