Condividi tramite


ShapeHasCompartments.GetLinks Method

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

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

Syntax

'Dichiarazione
Public Shared Function GetLinks ( _
    source As CompartmentShape, _
    target As Compartment _
) As ReadOnlyCollection(Of ShapeHasCompartments)
public static ReadOnlyCollection<ShapeHasCompartments> GetLinks(
    CompartmentShape source,
    Compartment target
)
public:
static ReadOnlyCollection<ShapeHasCompartments^>^ GetLinks(
    CompartmentShape^ source, 
    Compartment^ target
)
static member GetLinks : 
        source:CompartmentShape * 
        target:Compartment -> ReadOnlyCollection<ShapeHasCompartments> 
public static function GetLinks(
    source : CompartmentShape, 
    target : Compartment
) : ReadOnlyCollection<ShapeHasCompartments>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ShapeHasCompartments>

.NET Framework Security

See Also

Reference

ShapeHasCompartments Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace