DiagramElementHasDecorators.GetLinks Method
Get any DiagramElementHasDecorators links between a given DiagramElement and a Decorator.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Public Shared Function GetLinks ( _
source As DiagramElement, _
target As Decorator _
) As ReadOnlyCollection(Of DiagramElementHasDecorators)
public static ReadOnlyCollection<DiagramElementHasDecorators> GetLinks(
DiagramElement source,
Decorator target
)
public:
static ReadOnlyCollection<DiagramElementHasDecorators^>^ GetLinks(
DiagramElement^ source,
Decorator^ target
)
static member GetLinks :
source:DiagramElement *
target:Decorator -> ReadOnlyCollection<DiagramElementHasDecorators>
public static function GetLinks(
source : DiagramElement,
target : Decorator
) : ReadOnlyCollection<DiagramElementHasDecorators>
Parameters
Return Value
Type: ReadOnlyCollection<DiagramElementHasDecorators>
.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.