PathSegmentReferencesRole.GetLink 方法

获取特定 PathSegmentand 之间的一个 PathSegmentReferencesRole 链接 DomainRole。

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

语法

声明
Public Shared Function GetLink ( _
    source As PathSegment, _
    target As DomainRole _
) As PathSegmentReferencesRole
public static PathSegmentReferencesRole GetLink(
    PathSegment source,
    DomainRole target
)

参数

返回值

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

.NET Framework 安全性

请参见

参考

PathSegmentReferencesRole 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间