DiagramHasBaseDiagram.GetLinks Method
Get any DiagramHasBaseDiagram links between a given Diagram 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
'宣告
Public Shared Function GetLinks ( _
source As Diagram, _
target As Diagram _
) As ReadOnlyCollection(Of DiagramHasBaseDiagram)
public static ReadOnlyCollection<DiagramHasBaseDiagram> GetLinks(
Diagram source,
Diagram target
)
public:
static ReadOnlyCollection<DiagramHasBaseDiagram^>^ GetLinks(
Diagram^ source,
Diagram^ target
)
static member GetLinks :
source:Diagram *
target:Diagram -> ReadOnlyCollection<DiagramHasBaseDiagram>
public static function GetLinks(
source : Diagram,
target : Diagram
) : ReadOnlyCollection<DiagramHasBaseDiagram>
Parameters
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<DiagramHasBaseDiagram>
.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.