共用方式為


DiagramHasConnectorMaps.GetLinks(Diagram, ConnectorMap) Method

Definition

Get any DiagramHasConnectorMaps links between a given Diagram and a ConnectorMap.

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::DslDefinition::DiagramHasConnectorMaps ^> ^ GetLinks(Microsoft::VisualStudio::Modeling::DslDefinition::Diagram ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::ConnectorMap ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasConnectorMaps> GetLinks (Microsoft.VisualStudio.Modeling.DslDefinition.Diagram source, Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorMap target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLinks : Microsoft.VisualStudio.Modeling.DslDefinition.Diagram * Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorMap -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasConnectorMaps>
Public Shared Function GetLinks (source As Diagram, target As ConnectorMap) As ReadOnlyCollection(Of DiagramHasConnectorMaps)

Parameters

source
Diagram
target
ConnectorMap

Returns

Attributes

Applies to