共用方式為


PathSegmentReferencesRole.GetRole Method

Gets 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 GetRole ( _
    element As PathSegment _
) As DomainRole
public static DomainRole GetRole(
    PathSegment element
)
public:
static DomainRole^ GetRole(
    PathSegment^ element
)
static member GetRole : 
        element:PathSegment -> DomainRole 
public static function GetRole(
    element : PathSegment
) : DomainRole

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole

.NET Framework Security

See Also

Reference

PathSegmentReferencesRole Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace