共用方式為


DiagramHasShapeMaps.GetLinks(Diagram, BaseShapeMap) Method

Definition

Get any DiagramHasShapeMaps links between a given Diagram and a BaseShapeMap.

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

Parameters

source
Diagram
target
BaseShapeMap

Returns

Attributes

Applies to