Share via


PathHasSegments.GetLink Method

Get the one PathHasSegments link between a given DomainPathand 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 GetLink ( _
    source As DomainPath, _
    target As PathSegment _
) As PathHasSegments
public static PathHasSegments GetLink(
    DomainPath source,
    PathSegment target
)
public:
static PathHasSegments^ GetLink(
    DomainPath^ source, 
    PathSegment^ target
)
static member GetLink : 
        source:DomainPath * 
        target:PathSegment -> PathHasSegments
public static function GetLink(
    source : DomainPath, 
    target : PathSegment
) : PathHasSegments

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegments

.NET Framework Security

See Also

Reference

PathHasSegments Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace