Partilhar via


ShapeHasCompartments.GetLinksToCompartments Method

Get the list of ShapeHasCompartments links to a CompartmentShape.

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 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: System.Collections.ObjectModel.ReadOnlyCollection<ShapeHasCompartments>

.NET Framework Security

See Also

Reference

ShapeHasCompartments Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace