ShapeMapReferencesShape.GetLinks Method
Get any ShapeMapReferencesShape links between a given ShapeMap and a Shape.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
Public Shared Function GetLinks ( _
source As ShapeMap, _
target As Shape _
) As ReadOnlyCollection(Of ShapeMapReferencesShape)
public static ReadOnlyCollection<ShapeMapReferencesShape> GetLinks(
ShapeMap source,
Shape target
)
public:
static ReadOnlyCollection<ShapeMapReferencesShape^>^ GetLinks(
ShapeMap^ source,
Shape^ target
)
static member GetLinks :
source:ShapeMap *
target:Shape -> ReadOnlyCollection<ShapeMapReferencesShape>
public static function GetLinks(
source : ShapeMap,
target : Shape
) : ReadOnlyCollection<ShapeMapReferencesShape>
Parameters
- target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Shape
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<ShapeMapReferencesShape>
.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.