PathSegmentReferencesRole.GetRole(PathSegment) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取角色。
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
返回
- 属性