DiagramRepresentsClass.GetLinks Method

Get any DiagramRepresentsClass links between a given Diagram and a DomainClass.

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 Diagram, _
    target As DomainClass _
) As ReadOnlyCollection(Of DiagramRepresentsClass)
public static ReadOnlyCollection<DiagramRepresentsClass> GetLinks(
    Diagram source,
    DomainClass target
)
public:
static ReadOnlyCollection<DiagramRepresentsClass^>^ GetLinks(
    Diagram^ source, 
    DomainClass^ target
)
static member GetLinks : 
        source:Diagram * 
        target:DomainClass -> ReadOnlyCollection<DiagramRepresentsClass> 
public static function GetLinks(
    source : Diagram, 
    target : DomainClass
) : ReadOnlyCollection<DiagramRepresentsClass>

Parameters

Return Value

Type: ReadOnlyCollection<DiagramRepresentsClass>

.NET Framework Security

See Also

Reference

DiagramRepresentsClass Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace