Share via


PortHasBasePort.GetLink Method

Get the one PortHasBasePort link between a given Portand a Port.

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 Port, _
    target As Port _
) As PortHasBasePort
public static PortHasBasePort GetLink(
    Port source,
    Port target
)
public:
static PortHasBasePort^ GetLink(
    Port^ source, 
    Port^ target
)
static member GetLink : 
        source:Port * 
        target:Port -> PortHasBasePort
public static function GetLink(
    source : Port, 
    target : Port
) : PortHasBasePort

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.PortHasBasePort

.NET Framework Security

See Also

Reference

PortHasBasePort Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace