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