Condividi tramite


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
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