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
- source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Shape
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<ShapeHasDecorators>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.