PathSegmentReferencesRole.GetLinks(PathSegment, DomainRole) 方法

定义

获取给定 PathSegment 和 DomainRole 之间的任何 PathSegmentReferencesRole 链接。

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::DslDefinition::PathSegmentReferencesRole ^> ^ GetLinks(Microsoft::VisualStudio::Modeling::DslDefinition::PathSegment ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::DomainRole ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole> GetLinks (Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment source, Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLinks : Microsoft.VisualStudio.Modeling.DslDefinition.PathSegment * Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole>
Public Shared Function GetLinks (source As PathSegment, target As DomainRole) As ReadOnlyCollection(Of PathSegmentReferencesRole)

参数

source
PathSegment
target
DomainRole

返回

ReadOnlyCollection<PathSegmentReferencesRole>
属性

适用于