Partager via


CodeGenerationUtilities.GetTypeRole Method

Gets the role that determines the type of the generated property for this role. This is the most-base role that has the same name as this role.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Déclaration
Public Shared Function GetTypeRole ( _
    role As DomainRole _
) As DomainRole
public static DomainRole GetTypeRole(
    DomainRole role
)
public:
static DomainRole^ GetTypeRole(
    DomainRole^ role
)
static member GetTypeRole : 
        role:DomainRole -> DomainRole 
public static function GetTypeRole(
    role : DomainRole
) : DomainRole

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace