Share via


ShapeHasCompartments.GetLinks(CompartmentShape, Compartment) Method

Definition

Get any ShapeHasCompartments links between a given CompartmentShape and a Compartment.

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::DslDefinition::ShapeHasCompartments ^> ^ GetLinks(Microsoft::VisualStudio::Modeling::DslDefinition::CompartmentShape ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::Compartment ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments> GetLinks (Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape source, Microsoft.VisualStudio.Modeling.DslDefinition.Compartment target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLinks : Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape * Microsoft.VisualStudio.Modeling.DslDefinition.Compartment -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments>
Public Shared Function GetLinks (source As CompartmentShape, target As Compartment) As ReadOnlyCollection(Of ShapeHasCompartments)

Parameters

target
Compartment

Returns

Attributes

Applies to