CodeGenerationUtilities.GetTypeRole(DomainRole) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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