Share via


ShapeHasDecorators.GetLinks(Shape, Decorator) Method

Definition

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

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::DslDefinition::ShapeHasDecorators ^> ^ GetLinks(Microsoft::VisualStudio::Modeling::DslDefinition::Shape ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::Decorator ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators> GetLinks (Microsoft.VisualStudio.Modeling.DslDefinition.Shape source, Microsoft.VisualStudio.Modeling.DslDefinition.Decorator target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLinks : Microsoft.VisualStudio.Modeling.DslDefinition.Shape * Microsoft.VisualStudio.Modeling.DslDefinition.Decorator -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasDecorators>
Public Shared Function GetLinks (source As Shape, target As Decorator) As ReadOnlyCollection(Of ShapeHasDecorators)

Parameters

source
Shape
target
Decorator

Returns

Attributes

Applies to