다음을 통해 공유


PathSegmentReferencesRole.GetRole Method

Gets Role.

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

Syntax

'Declaration
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