Partilhar via


PathHasSegments.GetLinks(DomainPath, PathSegment) Method

Definition

Get any PathHasSegments links between a given DomainPath and a PathSegment.

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)

Parameters

source
DomainPath
target
PathSegment

Returns

Attributes

Applies to