PathHasSegments.GetLinks(DomainPath, PathSegment) 方法

定义

获取给定 DomainPath 和 PathSegment 之间的任何 PathHasSegments 链接。

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

参数

source
DomainPath
target
PathSegment

返回

ReadOnlyCollection<PathHasSegments>
属性

适用于