PathSegmentReferencesRole.GetRole 方法

获取角色。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

语法

声明
Public Shared Function GetRole ( _
    element As PathSegment _
) As DomainRole
public static DomainRole GetRole(
    PathSegment element
)

参数

返回值

类型:Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole

.NET Framework 安全性

请参见

参考

PathSegmentReferencesRole 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间