ShapeHasCompartments.GetLinksToCompartments Method

Get the list of ShapeHasCompartments links to a CompartmentShape.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Public Shared Function GetLinksToCompartments ( _
    shapeInstance As CompartmentShape _
) As ReadOnlyCollection(Of ShapeHasCompartments)
public static ReadOnlyCollection<ShapeHasCompartments> GetLinksToCompartments(
    CompartmentShape shapeInstance
)
public:
static ReadOnlyCollection<ShapeHasCompartments^>^ GetLinksToCompartments(
    CompartmentShape^ shapeInstance
)
static member GetLinksToCompartments : 
        shapeInstance:CompartmentShape -> ReadOnlyCollection<ShapeHasCompartments> 
public static function GetLinksToCompartments(
    shapeInstance : CompartmentShape
) : ReadOnlyCollection<ShapeHasCompartments>

Parameters

Return Value

Type: ReadOnlyCollection<ShapeHasCompartments>

.NET Framework Security

See Also

Reference

ShapeHasCompartments Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace