Partilhar via


CodeGenerationUtilities.GetSameNameBaseRole(DomainRole) Method

Definition

Returns the base role of the given role if it has the same name as the given role

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

Parameters

role
DomainRole

Returns

Applies to