共用方式為


ShapeMapReferencesShape.GetLinks(ShapeMap, Shape) Method

Definition

Get any ShapeMapReferencesShape links between a given ShapeMap and a Shape.

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

Parameters

source
ShapeMap
target
Shape

Returns

Attributes

Applies to