PathSegmentReferencesRole.GetRole(PathSegment) 方法

定义

获取角色。

public:
 static Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ GetRole(Microsoft::VisualStudio::Modeling::DslDefinition::PathSegment ^ element);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole GetRole (Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment element);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetRole : Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment -> Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole
Public Shared Function GetRole (element As PathSegment) As DomainRole

参数

element
PathSegment

返回

DomainRole
属性

适用于