PathSegmentReferencesRole.GetLink(PathSegment, DomainRole) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取给定 PathSegmentand 之间的一个 PathSegmentReferencesRole 链接 DomainRole。
public:
static Microsoft::VisualStudio::Modeling::DslDefinition::PathSegmentReferencesRole ^ GetLink(Microsoft::VisualStudio::Modeling::DslDefinition::PathSegment ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole GetLink (Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment source, Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLink : Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment * Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole -> Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole
Public Shared Function GetLink (source As PathSegment, target As DomainRole) As PathSegmentReferencesRole
参数
- source
- PathSegment
- target
- DomainRole
返回
- 属性