PortHasBasePort.GetLinks Method

Get any PortHasBasePort links between a given Port and 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 GetLinks ( _
    source As Port, _
    target As Port _
) As ReadOnlyCollection(Of PortHasBasePort)
public static ReadOnlyCollection<PortHasBasePort> GetLinks(
    Port source,
    Port target
)
public:
static ReadOnlyCollection<PortHasBasePort^>^ GetLinks(
    Port^ source, 
    Port^ target
)
static member GetLinks : 
        source:Port * 
        target:Port -> ReadOnlyCollection<PortHasBasePort> 
public static function GetLinks(
    source : Port, 
    target : Port
) : ReadOnlyCollection<PortHasBasePort>

Parameters

Return Value

Type: ReadOnlyCollection<PortHasBasePort>

.NET Framework Security

See Also

Reference

PortHasBasePort Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace