CodeGenerationUtilities.GetSameNameBaseRole Method

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

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Public Shared Function GetSameNameBaseRole ( _
    role As DomainRole _
) As DomainRole
public static DomainRole GetSameNameBaseRole(
    DomainRole role
)
public:
static DomainRole^ GetSameNameBaseRole(
    DomainRole^ role
)
static member GetSameNameBaseRole : 
        role:DomainRole -> DomainRole
public static function GetSameNameBaseRole(
    role : DomainRole
) : DomainRole

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace