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