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