Compartilhar via


ShapeMapReferencesShape.GetLinks Method

Get any ShapeMapReferencesShape links between a given ShapeMap and a Shape.

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ShapeMapReferencesShape Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace