CodeGenerationUtilities.GetGeneratedLinkAccessModifier Method
Returns the most limited type access modifier among the passed in DomainRelationship and its role players.
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 GetGeneratedLinkAccessModifier ( _
domainRelationship As DomainRelationship _
) As String
public static string GetGeneratedLinkAccessModifier(
DomainRelationship domainRelationship
)
public:
static String^ GetGeneratedLinkAccessModifier(
DomainRelationship^ domainRelationship
)
static member GetGeneratedLinkAccessModifier :
domainRelationship:DomainRelationship -> string
public static function GetGeneratedLinkAccessModifier(
domainRelationship : DomainRelationship
) : String
Parameters
- domainRelationship
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship
Return Value
Type: System.String
.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.