Share via


ShapeHasCompartments.GetLinkToShape Method

Get the ShapeHasCompartments link to a Compartment.

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

Syntax

'Declaration
Public Shared Function GetLinkToShape ( _
    compartmentInstance As Compartment _
) As ShapeHasCompartments
public static ShapeHasCompartments GetLinkToShape(
    Compartment compartmentInstance
)
public:
static ShapeHasCompartments^ GetLinkToShape(
    Compartment^ compartmentInstance
)
static member GetLinkToShape : 
        compartmentInstance:Compartment -> ShapeHasCompartments
public static function GetLinkToShape(
    compartmentInstance : Compartment
) : ShapeHasCompartments

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments

.NET Framework Security

See Also

Reference

ShapeHasCompartments Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace