Partilhar via


DiagramHasShapeMaps.GetLinks Method

Get any DiagramHasShapeMaps links between a given Diagram and a BaseShapeMap.

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

DiagramHasShapeMaps Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace