ShapeHasCompartments.GetLinks(CompartmentShape, Compartment) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- source
- CompartmentShape
- target
- Compartment
Returns
- Attributes