DslHasDiagram.GetLinks Method
Get any DslHasDiagram links between a given Dsl and a Diagram.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Déclaration
Public Shared Function GetLinks ( _
source As Dsl, _
target As Diagram _
) As ReadOnlyCollection(Of DslHasDiagram)
public static ReadOnlyCollection<DslHasDiagram> GetLinks(
Dsl source,
Diagram target
)
public:
static ReadOnlyCollection<DslHasDiagram^>^ GetLinks(
Dsl^ source,
Diagram^ target
)
static member GetLinks :
source:Dsl *
target:Diagram -> ReadOnlyCollection<DslHasDiagram>
public static function GetLinks(
source : Dsl,
target : Diagram
) : ReadOnlyCollection<DslHasDiagram>
Parameters
- source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Dsl
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<DslHasDiagram>
.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.