Share via


ShapeHasCompartments.GetLink Method

Get the one ShapeHasCompartments link between a given CompartmentShapeand 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 GetLink ( _
    source As CompartmentShape, _
    target As Compartment _
) As ShapeHasCompartments
public static ShapeHasCompartments GetLink(
    CompartmentShape source,
    Compartment target
)
public:
static ShapeHasCompartments^ GetLink(
    CompartmentShape^ source, 
    Compartment^ target
)
static member GetLink : 
        source:CompartmentShape * 
        target:Compartment -> ShapeHasCompartments
public static function GetLink(
    source : CompartmentShape, 
    target : Compartment
) : ShapeHasCompartments

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments

.NET Framework Security

See Also

Reference

ShapeHasCompartments Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace