Share via


PathHasSegments.GetLinks Method

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

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Public Shared Function GetLinks ( _
    source As DomainPath, _
    target As PathSegment _
) As ReadOnlyCollection(Of PathHasSegments)
public static ReadOnlyCollection<PathHasSegments> GetLinks(
    DomainPath source,
    PathSegment target
)
public:
static ReadOnlyCollection<PathHasSegments^>^ GetLinks(
    DomainPath^ source, 
    PathSegment^ target
)
static member GetLinks : 
        source:DomainPath * 
        target:PathSegment -> ReadOnlyCollection<PathHasSegments> 
public static function GetLinks(
    source : DomainPath, 
    target : PathSegment
) : ReadOnlyCollection<PathHasSegments>

Parameters

Return Value

Type: ReadOnlyCollection<PathHasSegments>

.NET Framework Security

See Also

Reference

PathHasSegments Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace