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
- source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Port
- target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Port
Return Value
Type: ReadOnlyCollection<PortHasBasePort>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.