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
- source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Port
- target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Port
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.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.