DslHasDiagram.GetLink Method
Get the one DslHasDiagram link between a given Dsland a Diagram.
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 Dsl, _
target As Diagram _
) As DslHasDiagram
public static DslHasDiagram GetLink(
Dsl source,
Diagram target
)
public:
static DslHasDiagram^ GetLink(
Dsl^ source,
Diagram^ target
)
static member GetLink :
source:Dsl *
target:Diagram -> DslHasDiagram
public static function GetLink(
source : Dsl,
target : Diagram
) : DslHasDiagram
Parameters
- source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Dsl
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram
.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.