ShapeHasCompartments.GetLinksToCompartments(CompartmentShape) Method

Definition

Get the list of ShapeHasCompartments links to a CompartmentShape.

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::DslDefinition::ShapeHasCompartments ^> ^ GetLinksToCompartments(Microsoft::VisualStudio::Modeling::DslDefinition::CompartmentShape ^ shapeInstance);
[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments> GetLinksToCompartments (Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape shapeInstance);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLinksToCompartments : Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments>
Public Shared Function GetLinksToCompartments (shapeInstance As CompartmentShape) As ReadOnlyCollection(Of ShapeHasCompartments)

Parameters

shapeInstance
CompartmentShape

Returns

Attributes

Applies to