Share via


CodeGenerationUtilities.GetTypeRole(DomainRole) Method

Definition

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.

public:
 static Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ GetTypeRole(Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ role);
public static Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole GetTypeRole (Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole role);
static member GetTypeRole : Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole -> Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
Public Shared Function GetTypeRole (role As DomainRole) As DomainRole

Parameters

role
DomainRole

Returns

Applies to