Share via


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

See Also

Reference

CompartmentShapeHasBaseCompartmentShape Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace