Partager via


DiagramHasShapeMaps.GetLink Method

Get the one DiagramHasShapeMaps link between a given Diagramand 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

'Déclaration
Public Shared Function GetLink ( _
    source As Diagram, _
    target As BaseShapeMap _
) As DiagramHasShapeMaps
public static DiagramHasShapeMaps GetLink(
    Diagram source,
    BaseShapeMap target
)
public:
static DiagramHasShapeMaps^ GetLink(
    Diagram^ source, 
    BaseShapeMap^ target
)
static member GetLink : 
        source:Diagram * 
        target:BaseShapeMap -> DiagramHasShapeMaps 
public static function GetLink(
    source : Diagram, 
    target : BaseShapeMap
) : DiagramHasShapeMaps

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasShapeMaps

.NET Framework Security

See Also

Reference

DiagramHasShapeMaps Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace