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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
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
- 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.