Bagikan melalui


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
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: ReadOnlyCollection<ShapeHasCompartments>

.NET Framework Security

See Also

Reference

ShapeHasCompartments Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace