共用方式為


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'宣告
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