Share via


CodeGenerationUtilities.GetBaseRole(DomainRole) Method

Definition

Gets the base role of the given role if one exists. If not, it returns null.

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

Parameters

role
DomainRole

Returns

Applies to