Share via


ShapeHasDecorators.GetLinks Method

Get any ShapeHasDecorators links between a given Shape and a Decorator.

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ShapeHasDecorators Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace