Delen via


DiagramRepresentsClass.GetLink Method

Get the one DiagramRepresentsClass link between a given Diagramand a DomainClass.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Public Shared Function GetLink ( _
    source As Diagram, _
    target As DomainClass _
) As DiagramRepresentsClass
public static DiagramRepresentsClass GetLink(
    Diagram source,
    DomainClass target
)
public:
static DiagramRepresentsClass^ GetLink(
    Diagram^ source, 
    DomainClass^ target
)
static member GetLink : 
        source:Diagram * 
        target:DomainClass -> DiagramRepresentsClass
public static function GetLink(
    source : Diagram, 
    target : DomainClass
) : DiagramRepresentsClass

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass

.NET Framework Security

See Also

Reference

DiagramRepresentsClass Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace