Partilhar via


DesignerHasDiagram.GetLinks Method

Get any DesignerHasDiagram links between a given Designer and a Diagram.

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

Syntax

'Declaração
Public Shared Function GetLinks ( _
    source As Designer, _
    target As Diagram _
) As ReadOnlyCollection(Of DesignerHasDiagram)
public static ReadOnlyCollection<DesignerHasDiagram> GetLinks(
    Designer source,
    Diagram target
)
public:
static ReadOnlyCollection<DesignerHasDiagram^>^ GetLinks(
    Designer^ source, 
    Diagram^ target
)
static member GetLinks : 
        source:Designer * 
        target:Diagram -> ReadOnlyCollection<DesignerHasDiagram> 
public static function GetLinks(
    source : Designer, 
    target : Diagram
) : ReadOnlyCollection<DesignerHasDiagram>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<DesignerHasDiagram>

.NET Framework Security

See Also

Reference

DesignerHasDiagram Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace